Hobbits first appeared in the novel The Hobbit, whose titular hobbit is the protagonist Bilbo Baggins. The novel The Lord of the Rings includes as major characters the hobbits Frodo Baggins, Samwise Gamgee, Peregrin Took, and Meriadoc Brandybuck, as well as several other minor hobbit characters. Hobbits are also briefly mentioned in The Silmarillion and Unfinished Tales.

is the hobbit in lord of the rings?
yes