A little bit of math goes a long way when making games. Math allows you to do whatever it is you want i life, for example rotate a sprite towards the mouse in Unity. Exactly what this tutorial shows you how to do.
Want to learn more about math for programming then you should check out this highly rated Plural Sight course.
Or if you just want some advanced math libraries in Unity you have this package that comes in two versions, without or with source code.