With macOS Ventura, Stage Manager organizes apps and windows so that your desktop is clutter-free and you can stay focused.
Enable Stage Manager
Click Control Center in the menu bar and toggle Stage Manager
How to use Stage Manager
The app you're currently using is in the center of the screen - other apps you're using appear as thumbnails on the side
To switch between windows, click a thumbnail.
To access items on your desktop, click the desktop.
Thumbnails are arranged automatically based on recent use, with up to six thumbnails shown, depending on the size of your desktop. Each thumbnail shows a live view of its window, so you can see updates like incoming messages without switching to that window.