Check out example codes for "how to switch scenes 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");

Learn ReactJs, React Native from akashmittal.com