Record screen videos on Mac

How to easily record screen videos without any third-party screen capture or recorders on Mac?