The Documents folder is stored in iCloud Drive if iCloud is enabled on your Mac. This ensures that its contents are synced to iCloud and mirrored on all your devices (that are also logged in to iCloud). This behavior applies to any file or folder stored in iCloud Drive.