Magic in Dungeons & Dragons Fifth Edition can be so much more than just blowing people up with a fireball, even in combat. Although D&D's many direct damage spells are very useful, more can be achieved through the use of buff spells. If a magic user helps other party members hurt enemies rather than hurting enemies themselves, they can deal far more damage.
Source:https://www.cbr.com/best-buff-spells-in-dnd-ranked/