Punishment
Scope of application

Punishments are applied for various purposes, most generally, to encourage and enforce proper behavior as defined by society or family. Criminals are punished judicially, by fines, corporal punishment or custodial sentences such as prison; detainees risk further punishments for breaches of internal rules. Children, pupils and other trainees may be punished by their educators or instructors (mainly parents, guardians, or teachers, tutors and coaches)—see Child discipline.

Slaves, domestic and other servants were subject to punishment by their masters. Employees can still be subject to a contractual form of fine or demotion. Most hierarchical organizations, such as military and police forces, or even churches, still apply quite rigid internal discipline, even with a judicial system of their own (court martial, canonical courts).

Punishment may also be applied on moral, especially religious, grounds, as in penance (which is voluntary) or imposed in a theocracy with a religious police (as in a strict Islamic state like Iran or under the Taliban) or (though not a true theocracy) by Inquisition.
punctuation:no_comma, language:response_language[Polish]