Windows typically prompts you to set up OneDrive when you’re setting up your PC. If you proceed to do this, the Pictures and Documents library folders are automatically synced to OneDrive. Additionally, any photos that were copied to the OneDrive - Personal location will also be automatically synced to your OneDrive folder.