Google Docs supports hundreds of add-ons that offer new features, quality-of-life improvements, productivity hacks, and more.
You can add a summary to any Google Doc, and if the doc has enough text, Google's AI will make one for you.