The Habeas Corpus is a legal procedure by which any citizen can appear immediately before the judge to determine the legality of the arrest. Through the Habeas Corpus, it seeks to avoid arbitrary arrests and guarantee the personal freedom of the individual. It is used to prevent abuses on the part of the authorities since it forces to make known the situation of the detainee a judge.