Answer:
Habeas corpus protects you from being held in detention or jail without reason.
Explanation-
A writ of habeas corpus is where the court has to tell you what you have been imprisoned for and why. The government can't just arrest you on a whim, the officials have to have solid proof, that proof had to be gotten legally.