How to create a new scene and load it through c# script ?,How to create a new scene and load it through c# script

I am making a sandbox game and I want player to be creating new worlds aka scenes in unity manually. I have gone through many pages of google but I was not able to find out how to do this. Please if you know the solution to this, please give me a reply. ,

This line will create a new scene, and set it as an active scene:

SceneManager.SetActiveScene(SceneManager.CreateScene("NewScene"));