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.
Einstein's thought experiments
In a 1920 review on the "Fundamental Ideas and Methods of the Theory of Relativity" (unpublished), Einstein related how disturbing he found this asymmetry: 
Einstein needed to extend the relativity of motion that he perceived between magnet and conductor in the above thought experiment to a full theory. For years, however, he did not know how this might be done. The exact path that Einstein took to resolve this issue is unknown. We do know, however, that Einstein spent several years pursuing an emission theory of light, encountering difficulties that eventually led him to give up the attempt. 
That decision ultimately led to his development of special relativity as a theory founded on two postulates of which he could be sure. Expressed in contemporary physics vocabulary, his postulates were as follows: