How does Tax Returns work?

What does it mean when you owe certain amount of money for the state? I know it means you didn’t pay a certain amount of taxes throughout the year, but how does it work?

I don’t know how taxes work? Is there a way I can study? Take a class? I tried watching videos but I have Q’s that I wanna ask for reassurance.

Thanks :)