What is the ending or summary of a piece of writing called

The ending or summary of a piece of writing is typically referred to as the conclusion. It is where the author wraps up their main points and ties everything together for the reader. The conclusion serves to bring the writing to a satisfying close and leave the reader with a final thought or message to take away.