Detention is the process whereby a state or private citizen holds a person by removing or restricting their freedom or liberty at that time.
Detention can be due to (pending) criminal charges against the individual pursuant to a prosecution or to protect a person or property. Being detained does not always result in being taken to a particular area (generally called a detention center), either for interrogation or as punishment for a crime (see prison). Persons can be detained if they are not allowed to leave a specific jurisdiction (a type of travel ban known as an 'exit ban') or if they are prevented from traveling to or from a specific area or region. An individual may be detained due a psychiatric disorder, potentially to treat this disorder involuntarily. They may also be detained for to prevent the spread of infectious diseases such as tuberculosis.