Habeas Corpus' literally means “to have a body of”. This writ is used to release a person who has been unlawfully detained or imprisoned. By virtue of this writ, the Court directs the person so detained to be brought before it to examine the legality of his detention.
<h3>Sorry for short answer</h3><h3>Hope this helps you XD ✌️</h3>
Habeas corpus is a recourse in law through which a person can report an unlawful detention or imprisonment to a court and request that the court order the custodian of the person, usually a prison official, to bring the prisoner to court, to determine whether the detention is lawful.