Wi-Fi and internet are different things. Wi-Fi is a wireless way to connect devices to a local network, while the internet is the global network your device accesses through that connection. You need Wi-Fi to get online wirelessly, but Wi-Fi itself doesn't provide internet.