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 will collapse to form pockets of higher density, typically creating a hierarchy of condensed structures such as clusters of galaxies, stellar groups, stars and planets. 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 will collapse to form pockets of higher density, typically creating a hierarchy of condensed structures such as clusters of galaxies, stellar groups, stars and planets. A star is born through the gradual gravitational collapse of a cloud of interstellar matter. 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. Once all its energy sources are exhausted, a star will again collapse until it reaches a new equilibrium state. An interstellar cloud of gas will remain in hydrostatic equilibrium as long as the kinetic energy of the gas pressure is in balance with the potential energy of the internal gravitational force. Mathematically this is expressed using the virial theorem, which states that, to maintain equilibrium, the gravitational potential energy must equal twice the internal thermal energy. If a pocket of gas is massive enough that the gas pressure is insufficient to support it, the cloud will undergo gravitational collapse. The mass above which a cloud will undergo such collapse is called the Jeans mass. This mass depends on the temperature and density of the cloud, but is typically thousands to tens of thousands of solar masses. At what is called the death of the star (when a star has burned out its fuel supply), it will undergo a contraction that can be halted only if it reaches a new state of equilibrium. Depending on the mass during its lifetime, these stellar remnants can take one of three forms: The collapse of the stellar core to a white dwarf takes place over tens of thousands of years, while the star blows off its outer envelope to form a planetary nebula. If it has a companion star, a white dwarf-sized object can accrete matter from the companion star. Before it reaches the Chandrasekhar limit (about one and a half times the mass of our Sun, at which point gravitational collapse would take start again), the increasing density and temperature within a carbon-oxygen white dwarf initiates a new round of nuclear fusion, which is not regulated because the star's weight is supported by degeneracy rather than thermal pressure, allowing temperature to rise exponentially. The resulting runaway carbon detonation completely blows the star apart in a Type Ia supernova. Neutron stars are formed by gravitational collapse of the cores of larger stars, and are the remnant of other types of supernova. They are so compact that a Newtonian description is inadequate for an accurate treatment, which requires the use of Einstein's general relativity. According to Einstein's theory, for even larger stars, above the Landau-Oppenheimer-Volkoff limit, also known as the Tolman–Oppenheimer–Volkoff limit (roughly double the mass of our Sun) no known form of cold matter can provide the force needed to oppose gravity in a new dynamical equilibrium. Hence, the collapse continues with nothing to stop it. Once a body collapses to within its Schwarzschild radius it forms what is called a black hole, meaning a space-time region from which not even light can escape. It follows from a theorem of Roger Penrose that the subsequent formation of some kind of singularity is inevitable. Nevertheless, according to Penrose's cosmic censorship hypothesis, the singularity will be confined within the event horizon bounding the black hole, so the space-time region outside will still have a well behaved geometry, with strong but finite curvature, that is expected to evolve towards a rather simple form describable by the historic Schwarzschild metric in the spherical limit and by the more recently discovered Kerr metric if angular momentum is present. On the other hand, the nature of the kind of singularity to be expected inside a black hole remains rather controversial. According to some theories, at a later stage, the collapsing object will reach the maximum possible energy density for a certain volume of space or the Planck density (as there is nothing that can stop it). This is when the known laws of gravity cease to be valid. There are competing theories as to what occurs at this point, but it can no longer really be considered gravitational collapse at that stage.