Turning data on your Windows 11 device provides access to online services over the cellular network, while turning it off will impact that experience unless connected to Wi-Fi.
If your device isn't running Windows® 11, refer to the Windows 10 instructions.