Its a lie. They called it "socialism" and a "worker's party" to catch steeled and disciplined workers. Scientifically speaking, it's fascism.
Pure socialism means the workers have all the power. To catch workers, they called the Nazi Party a "workers-party" (NSDAP). The leaders of the NSDAP were not workers. Who had the power in national socialism? The fascists, the rich. But not the workers.
It wasis used as a lie, remember the method of Hitler's Germany was "Angst- und Gewaltherrschaft" ("rule of fear and violence"). Fascists always lie, if they cannot lie they try to rule by violence or fear.
In a scientific context, you should avoid repeating this lie.