When it comes to magical classes in Dungeons & Dragons, it's hard to not immediately think of wizards. Intelligent spell casters who record their spells in spellbooks, wizards are among the most well-read adventurers in D&D. Wizards are characteristically glass canons who have low hit points and defenses but can dish out devastating damage through their spells. There are numerous wizard subclasses in D&D 5e, each focusing on a different style of magic.
Source:https://www.cbr.com/the-best-wizard-subclasses-in-dungeons-dragons-ranked/