ending
US /ˈen.dɪŋ/
UK /ˈen.dɪŋ/

1.
the last part of a story, film, or play
:
•
The movie had a surprising ending.
•
I didn't like the ending of the book.
2.
the final part of a word, especially one that changes according to its grammatical function
:
•
The word 'walked' has an '-ed' ending.
•
Many verbs in Spanish have an '-ar' ending.