Sort:  

It's called "green screen " you must do the recording in front of the green screen (other colors work but green is preferred by most software)
Then using the software you replace the green with your chosen background.
I have Wondershare Filmora, but it is complex and buggy and their support is in China.
There are many other apps that will do this... good luck