Check out example codes for "how to make a partical system to destroy itself after it finishing". It will help you in understanding the concepts better.
Code Example 1
GameObject explosion = Instantiate(_Explosion, transform.position, Quaternion.identity);
Destroy(explosion, explosion.GetComponent<ParticleSystem>().main.duration);
Code Example 2
Destroy(gameObject, GetComponent<ParticleSystem>().startLifetime);
Learn ReactJs, React Native from akashmittal.com