penance
noun
°A voluntary self-imposed punishment for a sinful act or wrongdoing. It may be intended to serve as reparation for the act.
°A sacrament in some Christian churches.