Question regarding writing tools for a new mac.

macOS & Mac Apps

Hello,I am starting my Junior year in college in a month, and I just got my first mac. I've been playing around with text edit and pages, but I was wondering if there is a better word processer out there that could deal with things such as stiles and formats such as MLA and APA because different classes require different things. Thanks in advance for any suggestions or advice that you might have.