What Einstein did was revolutionize our understanding of gravity with his theory of general relativity, published in 1915. This theory explained gravity not as a force, but as a consequence of the curvature of spacetime caused by the presence of mass and energy.