The theory of relativity was developed by Albert Einstein in the early 1900s due to the inability of classical physics to explain certain observations. It has two components, special relativity and general relativity. Special relativity is based on the key co…