Gravitational compression is a phenomenon in which
gravity, acting on the
mass of an object, compresses it, reducing its size and increasing the object's
density. At the center of a
planet or
star, gravitational compression produces
heat by the
Kelvin–Helmholtz mechanism. This is the mechanism that explains how
Jupiter continues to
radiate heat produced by its gravitational compression.