Citation:
A writ of habeas corpus is a legal order that requires a person who is holding another person in custody to bring the detainee before a court, ensuring that the detention is lawful. This principle is essential for protecting individual freedom against arbitrary detention and serves as a vital check on government power within the judicial system.