Gimli is a fictional character.
In the fantasy of J. R. R. Tolkien , the Dwarves are a race inhabiting Middle-earth , the central continent of Earth in an imagined mythological past . Gimli (Middle-earth) . In the course of the adventure , Gimli aids the Ring-bearer , participates in the War of the Ring , and becomes close friends with Legolas , overcoming an ancient enmity of Dwarves and Elves . Legolas ( pronounced [ - artˈlɛɡɔlas ] ) is a fictional character in J. R. R. Tolkien 's legendarium . Many of the fictional characters in J.R.R. Tolkien 's legendarium are dwarves , a short stocky race inhabiting the world of Arda ( the Earth in an imagined mythological past ) . The Fellowship of the Ring is the first of three volumes of the epic novel The Lord of the Rings by the English author J. R. R. Tolkien .