Einstein's theory of general relativity explains how gravity arises due to the curvature of space-time.