WiFi is a wireless network that connects nearby devices to share internet through a hotspot whereas internet is a global network of networks.