penance

noun

1.
2.
a Catholic sacrament; repentance and confession and atonement and absolution
3.
voluntary self-punishment in order to atone for some wrongdoing