A court issues the writ of habeas corpus mainly in order to:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → have a detained person brought before it to examine whether the detention is lawful
Habeas corpus (‘to have the body’) is an order to produce an arrested or detained person before the court so that the court can decide whether the detention is lawful; if it is not, the person is set free.