Alfresco and Nextcloud for document management

Hello anybody what are the the pros and cons of of using alfresco and nextcloud?

Thanks in advance