Kazam is a simple screen recording program that will capture the content of your screen and record a video file that can be played by any video player that supports VP8/WebM video format.
Optionally you can record sound from any sound input device that is supported and visible by PulseAudio.
Kazam is also available on Ubuntu 16.04, 18.04 and 20.04 releases from Ubuntu Universe repository. Stable PPA is provided for convenience only, so you don't have to wait for latest releases to show in Ubuntu repositories.