The fighter is one of Dungeons & Dragons Fifth Edition's most straightforward classes. It focuses on making simple weapon attacks with no additional complexity, such as spellcasting, in the base class. Some D&D 5e fighter subclasses add complex new mechanics to add versatility and power. The Samurai Martial Archetype instead enhances the fighter's toolkit with straightforward new features.
Source:https://www.cbr.com/dnd-5e-samurai-fighter-build-guide/