Original: The trilogy is based on the three-volume book The Lord of the Rings by J. R. R. Tolkien.
Simplified: The movies were based on J. R. R. Tolkien's book The Lord of the Rings.