There are sentences that deprive teenagers of their freedom of movement and that involve a form of confinement. For teenagers, this confinement is referred to as "custody" instead of "detention".
Being sentenced to time in custody is comparable to an adult being sentenced to time in prison or a penitentiary, except that the teenager serves the sentence in a Youth Centre instead of a prison or a penitentiary