As someone who teaches math, I definitely agree that most of my students don’t understand the purpose.
I find word problems that require quadratics or graphs to solve help a lot. Students start to see that these have real-world applications and are not just formulas concocted out of thin air to punish them.