Albert Einstein developed the theories of special and general relativity which established that the laws of physics are the same for all observers regardless of their motion or frame of reference. Special relativity describes how space and time are relative to the observer's motion and that the speed of light in a vacuum is constant. General relativity explains gravity as a consequence of the curvature of spacetime caused by the uneven distribution of mass and energy.