Sonderkommando

Sonderkommandos were special work groups made up of prisoners in the Nazi concentration camps during World War II. (In German, "Sonderkommando" means "special unit".) They worked in and around the gas chambers, which the Nazis used to murder many people.
What did the Sonderkommando do?
The Sonderkommandos did not kill anybody. When the Nazi guards at the concentration camps killed people in their gas chambers, they made the Sonderkommandos do a few different jobs:
Take prisoners into the gas chambers
Take dead bodies out of the gas chambers after the Nazis had killed them
Take things the Nazis wanted from the dead bodies. For example, they had to take out gold teeth and tooth fillings; cut off the women's hair; and take jewelry and eyeglasses
Bury or burn the dead bodies
Clean the gas chambers and get them ready for the next group of people the Nazis wanted to kill
Life as a Sonderkommando
Usually, the Nazi camp guards chose people for the Sonderkommando groups right after those people got to the concentration camps. They almost always chose Jewish prisoners. These people were told they would be killed if they did not agree. They were not told what kind of work they would have to do. Sometimes, the new Sonderkommando would find the bodies of their own families in the gas chambers. They were not allowed to change jobs or refuse to work. The only way they could stop working as Sonderkommando would be to kill themselves.
Sometimes the groups of Sonderkommandos were very big. As the Nazis killed more and more people in the concentration camps, they wanted more Sonderkommandos. By 1943, at Birkenau concentration camp (also called "Auschwitz II"), the groups of Sonderkommando included 400 prisoners. But when many more Jews from Hungary were sent to the camp in 1944, the Nazis added 500 more Sonderkommando.
The Nazis needed the Sonderkommandos to stay strong enough to work. Because of this, they were treated a little better than the other prisoners. They were allowed to sleep in their own barracks. They were also allowed to keep things like food, medicines, and cigarettes that had belonged to people who were killed in the gas chambers. The Nazis allowed these things because they wanted to be able to kill people as quickly as possible in the gas chambers. Without the Sonderkommando to help with the dead bodies, the Nazis would not be able to use the gas chambers as much.
Death
Because they knew so much about how the Nazis were killing so many people, the Nazis thought of the Sonderkommando as Geheimnistrager -- people who knew secrets. Because of this, they were kept apart from other prisoners in the camps. The Nazis also did not want anyone outside the camps to know what they were doing. To make sure the Sonderkommando could never tell what they knew, the Nazis would regularly kill all of the Sonderkommando, usually about every 3 months. Then they would choose a new group out of new prisoners just getting to the camps. The new group's first job would be to burn the bodies of the old Sonderkommandos.
Sonderkommandos fight back
Some Sonderkommandos tried to revolt (fight back) against the Nazis. For example, in 1944, Sonderkommandos at Auschwitz partly destroyed one of the crematoria used for burning bodies. For months, young Jewish women had secretly been taking small amounts of gunpowder from a weapons factory in the Auschwitz camp. They had been sneaking that gunpowder to men and women in the camp's resistance movement. (The resistance movement was a group of prisoners at Auschwitz who decided to fight back against the Nazis, sometimes in secret ways.) Using this gunpowder, the leaders of the Sonderkommando planned to blow up the gas chambers and crematoria, and start a rebellion against the camp's guards.
However, before this plan was ready, people in the camp's resistance movement found out that the Nazi guards were going to murder the Sonderkommando on 7 October 1944. The resistance members warned the Sonderkommando, who attacked the guards with two machine guns, axes, knives and grenades. They killed about 3 guards and hurt about 12 others. A total of 451 Sonderkommandos were killed on this day. Some died fighting the camp's guards. Some did not, and were executed later that day by the Nazis.
There were also revolts in two other concentration camps, called Treblinka and Sobibor. At Treblinka, on 2 August 1943, around 100 prisoners were able to escape from the camp. At Sobibor, Sonderkommando in one part of the camp (Camp I) revolted on 14 October 1943. The Sonderkommando in another part of the camp (Camp III) did not revolt, but were murdered the next day.
Other Sonderkommandos fought back secretly. For example, at Auschwitz, in August 1944, members of the Sonderkommando were able to take pictures showing bodies being burned and people being sent to the gas chambers. They snuck these pictures out of the camp as proof of what the Nazis were doing.
Fewer than twenty out of several thousand members of the Sonderkommando are known to have survived and were able to testify to what happened. After World War II, at some camps, people found notes that members of the Sonderkommando had buried or hidden, hoping that someone would find the notes later and know what happened.
Testimonies
Between 1943 and 1944, some members of the Sonderkommando at Birkenau (Auschwitz II) were able to get pens and paper, and they wrote about the things they had seen at the camp. They buried the things they wrote near the crematoria. Their writings were found after the war ended.