GSuite was written from the start as an online collaborative platform.
O365 is Microsoft Office shoehorned into running in a web browser.