If you own a Macbook, there are three standard keyboard shortcuts you can use to capture screenshots, but if you are not used to Apple's iOS it can be a tricky problem for you. Also owners of MacBook Pros have a fourth option: the Touch Bar. Apple offers many choices in Apple's MacOS software to quickly save, remove, and view the screenshot.
The first short cut you can use is, Shift, Command, and 3. Apple describes as "If you see a thumbnail in the corner of your screen, click it to edit the screenshot. Or wait for the screenshot to save to your desktop." By simply following this guideline you can take screenshot on your Mac.
If you want a portion of a screenshot you can use Shift, Command, and 4 shortcut. This shortcut will give you the ability to edit the screenshot you took.
If you would like to capture a whole window you can use Shift, Command, 4, and Space bar. After this, if you see a thumbnail in the corner of your screen you can click to edit the screenshot.