Check out example codes for "find gameobject with tag". It will help you in understanding the concepts better.

Code Example 1

GameObject.FindGameObjectsWithTag("Enemy");

Code Example 2

GameObject.FindWithTag("Enemy");

Learn ReactJs, React Native from akashmittal.com