Final answer:
The writ of habeas corpus is a court order requiring the government to bring a prisoner to court and explain their detention. It protects the rights of individuals held in jail.
Step-by-step explanation:
The writ of habeas corpus is a court order requiring the government to bring a prisoner to court and explain their detention. It is used to protect the rights of individuals who are held in jail, ensuring that they have the opportunity to challenge their imprisonment before a neutral judge.
For example, during the Civil War, President Abraham Lincoln detained suspected Confederate saboteurs and sympathizers and attempted to have them tried in military courts. However, the Supreme Court ruled in Ex parte Milligan that the government could not bypass the civilian court system in states where it was operating.