Social democracy is a political, social and economic ideology that supports economic and social interventions to promote social justice within the framework of a liberal democratic polity and capitalist economy. Socialism requires that the means of production be socially owned.
Therefore, social democracy is NOT socialism. And in many cases in history, social democratic parties have been hostile to socialist parties and against socialist policies.