To take a screenshot of your whole screen:
1. Press Command (⌘)-Shift-3.
2. Find the screenshot as a .png file on your desktop.

To take a screenshot of part of your screen:
1. Press Command-Shift-4. The pointer changes to a crosshair pointer.
2. Move the crosshair pointer to where you want to start the screenshot.
3. Drag to select an area. While dragging, you can hold the Shift key, Option key, or Space bar to change the way the selection moves.
4. When you've selected the area you want, release your mouse or trackpad button. To cancel, press the Escape (esc) key before you release the button.
5. Find the screenshot as a .png file on your desktop.