String theory was not invented to describe gravity; instead it originated in an attempt to describe the strong interactions, wherein mesons can be thought of as open strings with quarks at their ends. The fact that the theory automatically described closed strings as well, and that closed strings invariably produced gravitons and gravity, and that the resulting quantum theory of gravity was finite and consistent is one of the most appealing aspects of the theory.