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

Code Example 1

yourObjects = GameObject.FindGameObjectsWithTag("Respawn");

Code Example 2

//Find a single game object
GameObject.FindWithTag("TagName");

//Find multiple game objects from tag 
GameObject.FindGameObjectsWithTag("TagName");

Code Example 3

GameObject[] arrayGo = GameObject.FindGameObjectsWithTag("myTag");

Code Example 4

GameObject.FindGameObjectsWithTag("Enemy");

Code Example 5

string enemyTag = "Enemy";
Enemies = GameObject.FindGameObjectsWithTag(enemyTag);

Code Example 6

GameObject.FindWithTag("Enemy");

Learn ReactJs, React Native from akashmittal.com