The widespread motif around the ranger in DnD 5e is a talented hunter, tracker, and woodsman, most in your own home within the fringes of civilization and the primary line of defense versus threats in the wilds.
notion https://bookmarksoflife.com/story2931641/dnd-an-overview