Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
MacOS and iOS are different versions; iOS is for iPhone and iPad.
Have a look at:
https://support.microsoft.com/en-us/office/lifecycle/officeinstall/update-m365-office-macos-ios
...
Prior to updating your Office apps, you need to ensure that you are running macOS 12 (Monterey) or later on your Mac, or iOS 17 or later on your iPad/iPhone.
....