Detention refers to the act of holding a person in custody or confinement, typically by a law enforcement agency or other government entity.
In the criminal justice context, detention is often used as a means of holding a person who is suspected of committing a crime or who is awaiting trial or other legal proceedings. Several different types of detention may be used in the criminal justice system, including arrest, pre-trial, and incarceration. The specific rights and protections afforded to detainees vary depending on the jurisdiction and the legal context. Still, detainees are typically entitled to certain due process protections, such as the right to an attorney and freedom from cruel and unusual punishment.