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.