Hermits are folks who don't live around other folks — and they like it that way. They aren't afraid of dying alone. Hermits aren't banished or cut off from society as punishment — they willingly chose to leave it, for whatever reason.
Despite their reclusive lifestyle, fictional hermits may be either friendly or hostile. If a hermit is friendly, their reason for living alone will be that they simply enjoy the solitude. If the hermit is hostile, it's because they're misanthropic. On occasion, the hero will encounter a religious hermit.
Nice or not, almost all hermits are quirky. They don't conform to society's rules about cleanliness, politeness, footwear, or edibleness. Heck, they don't conform to society's standards at all. Hermits generally have a high tolerance to going mad from the isolation, but they're not completely immune. See "quirkiness" above.
https://tvtropes.org/pmwiki/pmwiki.php/Main/TheHermit