A homily is a commentary that follows a reading of scripture. In the Roman Catholic Church, the Anglican Communion, and in the Eastern Orthodox Church, a homily is usually given during Mass (or Divine Liturgy for Orthodox) at the end of the Liturgy of the Word.
In colloquial usage, homily often means a sermon concerning a practical matter, a moralizing lecture or admonition, or an inspirational saying or platitude.