Why do right wingers like to call democrats nazis when the nazis killed the communists in Germany?

If the nazis were socialists then why did they kill the communists any chance they got and fought the soviet union.

Why do right wingers like to call democrats nazis when the nazis killed the communists in Germany?
Post Opinion