In 1905 Albert Einstein developed a theory to explain how gravity works. After further study he expanded his theory in 1920 calling it the General Theory of Relativity.
NASA