Check out example codes for "scenemanagement.loadscene". It will help you in understanding the concepts better.
Code Example 1
using UnityEngine;
using UnityEngine.GameManagement;
public class NextLevelLoader : MonoBehaviour
public void LoadScene ()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
}
Learn ReactJs, React Native from akashmittal.com