Detention as a school punishment involves forcing students to stay after school is out. Usually this also involves making the children write lines.