Special relativity
In physics, special relativity (SR, also known as the special theory of relativity or STR) is the generally accepted and experimentally well-confirmed physical theory regarding the relationship between space and time. In Albert Einstein's original pedagogical treatment, it is based on two postulates:It was originally proposed by Albert Einstein in a paper published 26 September 1905 titled "On the Electrodynamics of Moving Bodies". The inconsistency of Newtonian mechanics with Maxwell's equations of electromagnetism and the lack of experimental confirmation for a hypothesized luminiferous aether led to the development of special relativity, which corrects mechanics to handle situations involving motions at a significant fraction of the speed of light (known as ""). As of today, special relativity is the most accurate model of motion at any speed when gravitational effects are negligible. Even so, the Newtonian mechanics model is still useful as an approximation at small velocities relative to the speed of light, due to its simplicity and high accuracy within its scope.
Principle of relativity
General relativity was developed by Einstein in the years 1907 - 1915. General relativity postulates that the global Lorentz covariance of special relativity becomes a local Lorentz covariance in the presence of matter. The presence of matter "curves" spacetime, and this curvature affects the path of free particles (and even the path of light). General relativity uses the mathematics of differential geometry and tensors in order to describe gravitation as an effect of the geometry of spacetime. Einstein based this new theory on the general principle of relativity, and he named the theory after the underlying principle.See the special relativity references and the general relativity references.