- whole screen: press command+shift+3
- selected area: press command+shift+4 and drag the cursor. Then you can also hold shift, option or space to adjust the area.
- window or menu: press command+shift+4 then space. Move the cursor to any window and click.
Combine control to any of the keybindings to save the screenshot to the clipboard instead of the desktop.
See Link for details.