Dungeons & Dragons is a tabletop RPG, or TTRPG, that gives players an incredible variety of options for designing their player characters, or their PCs. When making a brand-new PC, a D&D player can choose not just their character's race, but also their class, which will define how they function in the game. There are 13 canon classes in the game, which can be divided into main camps: spellcasters and martial classes.
Source:https://www.cbr.com/dnd-physical-classes-ranked/