Check out example codes for "how to switch scenes in unity". It will help you in understanding the concepts better.

Code Example 1

SceneManager.LoadScene("MyScene");

Code Example 2

using UnityEngine.SceneManagement;

SceneManager.LoadScene('Scene');

Code Example 3

using System.Collections; 
using System.Collections.Generic; 
using UnityEngine; 
using UnityEngine.SceneManagement;

//Load based on name of scene
public class SceneScript {
  public void ChangeScene(string scene = "") {
    SceneManager.LoadScene(sceneName:"scenes Name");
  }
}

Learn ReactJs, React Native from akashmittal.com