Hide all Windows on a Mac
If you need to quickly hide all windows within a Mac OS X application, hit Command+H and all the apps windows will become hidden. You can then manually retrieve the windows of through the applications Dock icon.
Hide all windows except the currently active window
Another great alternative is to hide all the windows on screen except for the currently active window. To do this, hit Command+Option+H at any time. This is a great trick to help focus on the task at hand.
I would recommend combining both of these tips with the ability to make hidden application icons translucent within the Dock, it’s a simple Terminal command to activate and it helps to determine which apps are hidden by the use of the aforementioned commands.
You can also hold down the Option key and click away from a Mac application and it will hide the application or windows being clicked away from.