LiFi is a wireless networking technology that uses light-emitting diodes (LEDs) and photo detectors to transmit data using visible light communication, providing a alternative to WiFi. It was coined by Professor Harald Haas in 2011. LiFi provides more secure data transmission than WiFi as light cannot pass through walls, meaning access is limited to the room. Compared to WiFi, LiFi has advantages such as higher speed, more security, and no health concerns, but disadvantages include only working where the light source is available and requiring a new infrastructure.