what is the habeas corpus
Habeas corpus, or the Great Writ, is the legal procedure that keeps the government from holding you indefinitely without showing cause. When you challenge your detention by filing a habeas corpus petition, the executive branch must explain to a neutral judge its justification for holding you.