Star systems are intricate celestial structures primarily composed of stars, planets, moons, asteroids, and comets. These components interact through gravitational forces, shaping the dynamics of the system and influencing the potential for life on surrounding planets. The formation of stars marks the beginning of these systems, originating from the collapse of gas and dust in molecular clouds, leading to the birth of diverse star types with unique characteristics.