If you think about the holocaust, hitler idealised the Aryan race without people with disabilities, mental illnesses or "non-German" ideas. He also wanted everyone to follow the Nazi regime and everyone who didn't follow was killed. So therefore his perpetrators cooperated as they didn't want to be killed themselves. Also the use of propaganda where people are promised the perfect life aids participation.