Respuesta :

A writ of habeas corpus is used to bring a prisoner or other detainee before the court to determine if the person's imprisonment or detention is lawful