How does LaTex work?

Hello everyone! I am a current high-schooler and one of my math teachers required me to use LaTex for a project. How does LaTex work in pdf and in general? She didn't give any instructions on how LaTex works and she only gave us the weekend to work on the project. I know this question may seem *really* dumb but please bare with me- I am scrambling to type up my soloution and just need a direct response without being overcomplicated. Thanks again!