<human>:  How does wifi work?
<bot>: Wifi typically works by using radio frequencies to transmit data signals between two or more devices that are connected to the same network. This allows those devices to communicate with each other without the need of physical cables. Typically, Wifi uses a router to connect devices to its network, however, devices can also connect with each other directly by creating a peer-to-peer connection.