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

Code Example 1

public AudioSource Jump;

Jump.Play();

Code Example 2

AudioSource audioData;

    void Start()
    {
        audioData = GetComponent<AudioSource>();
        audioData.Play(0);
        Debug.Log("started");
    }

Learn ReactJs, React Native from akashmittal.com