The term ‘Nazi’ is an abbreviation of Nationalsozialist (National Socialist).
The key word there being socialist.