Shift+Cmd+5 brings up the built-in screen capture tool, which includes options for recording the screen (or a window, or a section of the screen).

OpenScreen and its ilk seem to have more features for post-capture editing though.