The red, yellow and green buttons allow you to close, minimize, and resize windows on your Mac. With macOS Sequoia, the green button in particular has a lot of functionality.
Note: This is Club MacMost exclusive content. To view this video click the thumbnail below to go to the post as Patreon.com. Once there you will be able to view the video as long as you are logged into your Patreon account and a current supporter of MacMost at the "Club MacMost" or higher level.