It is an example of the archetype Hero.
In almost all legends, the role of the Hero is very important and necessary to overcome the forces of darkness (Shadow) with the guidance and help of himself, as well as the assistance and help of friends.
Frodo's task as the hero carrying the ring is very complex. He is not as powerful and glorious as the common heroes of other sagas, but as Galadriel, the queen of the Elves, says: "Even the smallest of people can change the course of the future." Frodo's weaknesses make him very similar to authentic heroes in psychology (consciousness).