An arrest is the act of depriving people of their liberty, usually in relation to an investigation or prevention of a crime, and thus detaining the arrested person in a procedure as part of the criminal justice system.