"The Lord of the Rings" began as a sequel to Tolkien's earlier fantasy book, "The Hobbit", but quickly became a much larger story. He also moved its (and "The Hobbit"'s) story into his fictional world Middle-earth, which he had already invented long before he wrote "The Hobbit". 