Sharepoint and OneDrive have similar cloud storage functions.
Both offer enterprise-level protection and comply with the main data protection legislation.
The main differences
Sharepoint is a system for collaborative storage, focused on the needs of teams. OneDrive is a personal storage system, i.e. not collaborative.
Sharepoint is a platform designed specifically to promote collaborative work in an online environment. It is a business environment in which employees share folders and files, including editing files simultaneously.
Sharepoint’s usability is much broader than that of OneDrive, as it can be adapted to function as an intranet. It can also be integrated with Teams.