A state that occurs when compression due to gravity is balanced by a pressure gradient which creates a pressure gradient force in the opposite direction. Hydrostatic equilibrium is responsible for keeping stars from imploding and for giving planets their spherical shape.