The study of the effects of gravity on matter and energy, including the theory of special and general relativity.