Data can be shared (sent and received) between nearby devices via Bluetooth or Wi-Fi.

Windows 10 - Bluetooth settings (on/off)

Windows 10 - Transfer (share) files with Nearby Sharing