Habeas corpus guarantees, which, right

The right guaranteed by the Habeas Corpus is the right to challenge one's detention or imprisonment. It ensures that a person cannot be held indefinitely without being charged with a crime or without a fair trial. It provides the opportunity for individuals to seek legal remedies if they believe their imprisonment is illegal or unjust. The Habeas Corpus right is protected in many countries' legal systems as a fundamental human right.