Nazi Germany discriminated against and persecuted people on the basis of their race or ethnicity (actual or perceived), religious affiliation, political beliefs, sexual orientation, and, where applicable, mental or physical disabilities. Discrimination was institutionalized through legislation under the Nazi Party and perpetrated at an industrial scale, culminating in the Holocaust. Men, women, and children who were deemed mentally or physically unfit for society were subject to involuntary hospitalization, involuntary euthanasia, and forced sterilization.
The vast majority of the Nazi regime's victims were Jewish, Romani, or Slavic. Jews, along with some Romani populations, were deemed unfit for society on racial or ethnic grounds and largely confined to ghettos, then rounded up and deported to concentration or extermination camps. The beginning of World War II marked a colossal escalation in the Nazis' efforts to eliminate "inferior" communities across German-occupied Europe, with methods including: non-judicial incarceration, confiscation of property, forced labour (and extermination through hard labour), sexual slavery, human experimentation, malnourishment, and execution by death squads. For Jews, in particular, the Nazis' goal was total exterminationthe genocide of the Jewish people, first in Europe and eventually in other parts of the world. This was presented by Adolf Hitler as the "Final Solution" to the Jewish question.
https://en.wikipedia.org/wiki/Victims_of_Nazi_Germany