Tolkien had a lot of influence from religion, mythology and geography as mentioned here to create what seems like an entire literary universe. It's also not uncommon for authors to be influenced by certain people they know or meet.
Has there been a character(s) in the Tolkien universe who was based on a real-life person (eg. family member, close friend etc)?