What is the meaning of Apology?

An expression of remorse or regret for having said or done something that harmed another: an instance of apologizing (saying that one is sorry).

A formal justification, defence.

Anything provided as a substitute; a makeshift.

Source: wiktionary.org