Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
You mean Command + H?

Command + H will 'hide' the app i.e. get rid of any open windows. However the icon remains 'open' in the dock. Just click the icon to get everything back how it was.

Command + M minimises the active window to the dock.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.