Refers to the act of punishing.
La punición por llegar tarde es un castigo severo.
The punishment for being late is a severe one.
La punición que recibió el niño por su travesura fue justa y necesaria.
The punishment the child received for his mischief was fair and necessary.