Pure socialism (government owning all production) and pure capitalism (private sector owning all production) are exact opposites -- two opposite ends of a spectrum.
In between is the government owning some production and private sector owning some production.
Communism is just socialism with government controlling who gets what.
You can mix communism with capitalism, like China.
You can mix fascism with capitalism and get crony capitalism.
All of these systems would be better if they removed the noxious pollutants of socialism, communism, and fascism.