Habeas corpus is a legal principle enshrined in many legal systems. It provides an individual their right to challenge their incarceration before a court of law. This fundamental right is essential for protecting personal freedoms. When someone is confined, they can file a writ of habeas corpus, which requires the government to demonstrate the leg