Rangers split the difference between fighters and druids in Dungeons & Dragons. They wield weapons and nature-themed magic in concert and make natural survivalists. They can fulfill a great many roles in a party. Rangers are well-suited as melee warriors, ranged combatants, secondary healers, scouts, and more, but they need good feats to realize their true potential in these roles.
Source:https://www.cbr.com/best-ranger-feats-dnd-5e/