The mathematical framework describing gravity and the curvature of spacetime due to matter and energy.