A star resists gravitational collapse through the process of nuclear fusion, which generates high pressure within its core. This pressure is crucial for maintaining equilibrium against gravitational forces. In white dwarfs, the stability is achieved through electron degeneracy pressure, a consequence of Pauli's exclusion principle that prevents electrons from occupying the same quantum state. If a star exceeds the Chandrasekhar limit of 1.4 solar masses, electron degeneracy pressure fails, leading to further collapse into a neutron star or black hole. Understanding these principles is essential for grasping stellar evolution and stability.