A guest network is a separate network on a router that provides internet access for visitors and isolates IoT devices from the main network. It promotes network segmentation and enhances network security by allowing visitors to access the internet without sharing the main network password. It also prevents IoT devices from having direct access to the primary network, reducing the risk of unauthorized access and potential security breaches.