The formation of a star starts with gravitational instability inside of a molecular cloud, attributable to areas of higher density—normally induced by compression of clouds by radiation from large stars, growing bubbles from the interstellar medium, the collision of different molecular clouds, or even the collision of galaxies (as in https://zanderk7pnl.blog-kids.com/36419501/a-secret-weapon-for-star