Many different types of camp appeared during World War II, all with different purposes:
The most prevalent "concentration camps" were labor camps. These housed internees used for forced manual labor. These camps were often brutal, and the work conditions were frequently fatal. Victims, provided with little or no food, were worked to death, and then others were brought in to take their place. Some were satellites of other camps, or consisted of roving work forces tapped for all kinds of labor projects.
Transit and collection camps held people temporarily pending their removal to other camps.
Then there were the infamous extermination camps. Most Nazi camps had the capacity for mass killing, but these camps were specifically designed for wholesale genocide, with purpose-built gas chambers. Auschwitz, the most notorious extermination camp, eventually became synonymous with Hell.
Displaced Person's Camps were introduced after the war. Many of the survivors of concentration camps had nowhere to go once liberated. These camps, in the short term, provided for their basic dietary and medical needs, but they were frequently overburdened. Disease was rampant; internees suffered from scurvy, scarlet fever, typhus, and anemia, and the sheer volume of people exceeded the capacity of these camps to cope in the chaotic aftermath of the war. Many of those who survived ended up emigrating to other locations in an attempt to find better medical treatment and a new home.