The common motif around the ranger in DnD 5e is a skilled hunter, tracker, and woodsman, most at your home within the fringes of civilization and the 1st line of defense against threats through the wilds.
. however, https://crithitceramics.com/mastering-your-dnd-ranger-background-a-how-to-guide/