It is an order issued by the court to a person who has detained another person, to produce the body of the latter before it. The court then examines the cause and legality of detention. It would set the detained person free, if the detention is found to be illegal.