Command+Shift+4 allows you to click and drag a section of screen to capture, and Command+Shift+4+Spacebar allows to you select a specific window to capture.
Option+Shift+4 allows you to click and drag a section of screen to capture, and Option+Shift+4+Spacebar allows to you select a specific window to capture.