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

Code Example 1

using UnityEngine.SceneManagement;

SceneManager.LoadScene('Scene');

Code Example 2

SceneManager.LoadScene("MyScene");

Code Example 3

using UnityEngine.SceneManagement;

int buildIndex = 0;
//Load the scene with a build index
SceneManager.LoadScene(buildIndex);

Code Example 4

SceneManager.LoadScene(scenename);

Learn ReactJs, React Native from akashmittal.com