This word is mostly used in formal contexts. When you do something wrong, you usually try to make up for it. You try to show other people that you are sorry for what you have done. This act that you perform in order to make up for the wrong that you have done is termed as ‘atonement’.
As a gesture of atonement, he gave away all his ill-gotten wealth for charity.