Article 22 of the Constitution of India provides specific safeguards to persons who are arrested or detained.
Clauses (1) and (2) deal with ordinary arrest and provide four rights: the right to be informed of the grounds of arrest, the right to consult a legal practitioner, the right to be produced before a magistrate within 24 hours, and the right not to be detained beyond 24 hours without a magistrate's authority.
Clauses (4) to (7) deal with preventive detention and provide safeguards against arbitrary long-term detention.
Article 21 is the general right to life and personal liberty, while Article 21A is the right to education.