The correct similarity between communism and socialism is: In both systems the central government owns a significant amount of a country's economic resources.
Both systems advocate for some level of government control over the economy, although the extent and methods of control vary between the two.