The Habeas Corpus writ is issued to produce a person who has been detained, whether in prison or in private custody, before a court and to release him if such detention is found illegal.
The right to habeas corpus has been used by the Indian judiciary effectively only in order to secure the release of a person from illegal detention.
If the detained person is unable to seek the writ of habeas corpus, someone else mayact so on his behalf.
The Right of Children to Free and Compulsory Education Act or Right to Education Act (RTE) which describes the importance of free and compulsory education for children between 6 and 14 in India is enacted under Article 21A of the Indian Constitution.