Explain the writ of habeas corpus?

The writ of habeas corpus is a legal term that is used to mean produce body. This is a court order given so as person especially a prisoner is produced by the government.