The Eldritch Knight of Dungeons & Dragons is a Fighter subclass that combines the martial and arcane in a powerful blend of magic and melee. Drawing from their knowledge of protective and destructive magic, they can put themselves easily on the frontline, providing a protective barrier between their lesser-armored allies and dangerous foes. The right Eldritch Knight build provides opportunities for this Fighter to sling both spells and swords, making them a valuable asset to the party.
Source:https://www.cbr.com/dnd-5e-eldritch-knight-fighter-build-guide/