castigo
/kasˈtiɡo/ · B1 · noun · m
punishment
castigo = castigate: to punish someone is to castigate them
Both come from Latin castigare, to correct or chastise, built from castus (pure) + agere (to drive). Literally, a punishment is meant to drive someone back to being clean. Castigar is the verb: to punish.