Here's how to record a video using QuickTime Player:
QuickTime Player is a multimedia program that is actually developed by Apple and included with all Mac devices, built-in with the macOS platform, so you don't need to do any extra downloading or installing in order to use Quicktime when you want to take a video of your screen.