If you are learning how to record gameplay on PC, you should know that both Bandicam and OBS are suitable for recording gameplay and live streaming. They come with different strengths and features, so find the right one for your needs.
OBS is best for Mac and Linux users (Bandicam is only compatible with Windows), gamers on a budget who need free software (Bandicam is paid), and video formats MKV, FLV, Webm, and Mov (Bandicam only supports MP4 and AVI). Also, if you require multiscreen recording, OBS is a better option.
However, Bandicam is best for beginners (it is significantly easier to use than OBS), and offers more screen recording features (such as annotation).