Here is a really good article on it:
Generally here is how it works:
- Command Shift 3 – Captures a screenshot of your entire desktop
- Command Shift 4 – Starts a cross hair directed capture
- Command Shift 5 – Starts a Menu Bar giving you options to capture – most flexible