structural:expansion, stylistic:style_transfer
Gravitational collapse is the contraction of an astronomical object due to the influence of its own gravity, which tends to draw matter inward toward the center of gravity. Gravitational collapse is a fundamental mechanism for structure formation in the universe. Over time an initial, relatively smooth distribution of matter, after sufficient accretion, may collapse to form pockets of higher density, such as stars or black holes. Star formation involves a gradual gravitational collapse of interstellar medium into clumps of molecular clouds and potential protostars. The compression caused by the collapse raises the temperature until thermonuclear fusion occurs at the center of the star, at which point the collapse gradually comes to a halt as the outward thermal pressure balances the gravitational forces. The star then exists in a state of dynamic equilibrium. During the star's evolution a star might collapse again and reach several new states of equilibrium.