You need to go to www.office.com and sign with your Microsoft account or a work account.
Click on Install Office and you’re done.
Please follow the screenshots for a clear understanding of the installation process for Windows and Mac
These are the steps to install Office 365 on the Mac