Check out example codes for "how do you go to a different scene unity". It will help you in understanding the concepts better.
Code Example 1
using UnityEngine.SceneManagement;
SceneManager.LoadScene('Scene');
Learn ReactJs, React Native from akashmittal.com