Prisoners have basic legal rights that cannot be taken away, including the right to food, water, and protection from torture or violence. However, torture has been widespread in Indian prisons both to extract confessions and punish prisoners. A 2001 Amnesty International report found thousands of cases of torture between 1997-2001 in most countries. If a person commits a crime, it does not mean they lose their human dignity. Several reports and courts have highlighted overcrowding, prolonged detention of undertrials, poor living conditions, torture, and lack of medical care in Indian prisons as ongoing problems.