In MacOS Catalina select the slide out notification centre thing, and swipe down.
Select Notifications.
Select Do Not Disturb.
That’s it.
Who does this?
People who need to share their desktop in a teams call so they can switch between windows or show application menus, but don’t want to share their email notifications.