The general theory of relativity defines gravity as the curvature of spacetime
The breakthrough that redefined Isaac Newton's picture of gravity came when Albert Einstein realized that freely falling is indistinguishable from weightlessness, leading him to the principle of equivalence between gravity and acceleration. His prediction that gravity bends light was confirmed in 1919 during a solar eclipse.