the way that a story, film, activity etc finishes
happy/perfect/surprise etc ending
a story with a happy ending
Coffee is the perfect ending to a meal.
when a process stops or is finished, or when you finish it
the first elections since the ending of the dictatorship
the last part of a word:
Verbal nouns have the ending -ing.