OneDrive is a cloud storage service that syncs your files across different devices. Deleting a file from OneDrive online storage does not automatically delete files from your computer unless enabled by the Files On-Demand feature. If you turn on this feature, deleting a file from OneDrive will also delete it from your computer because it is only stored online.