Answer:
It was to get rid of all the people who were "below" the white German race.
Explanation:
The Nazis were trying to get rid of all the Jews at first, but then it "snowballed" into getting rid of the Gypsies, the disabled, mentally ill (autistic, Schizophrenic, etc..), and the transgender/gay people.
Hope you have a great day/night!