The Office that comes pre-installed is often just a trial, and you need to buy a license or a Microsoft 365 subscription to use it. LibreOffice is a good free alternative, if you don’t specifically need the Microsoft applications, and it will read and write MS Office files.