Nazism is socialism combined with natiinalism and racism. Communism was in theory transnationalist, though that was dumped when it was expedient (like WWII).
Actually Stalin was racist as well.
The original Bolsheviks, wanted to reduce the influence of Russia over the entire Soviet Union.
Stalin, although Georgian by birth, imposed Russification on the country.
Nazism is fascism. It’s the softer sell because if gives the pretense of private ownership. Communism gives no such pretense. Both however are utterly evil, totalitarian systems.