Wireless sensor networks (WSNs) are composed of distributed nodes that communicate wirelessly to monitor environmental conditions like temperature, sound, and pressure. Each node contains sensors that collect data and transmit it back to a gateway. WSNs originated in the 1980s with the Defense Advanced Research Projects Agency's Distributed Sensor Networks program. Recent advances in computing, communication, and microelectromechanical technologies have enabled the development and proliferation of low-cost, small sensor nodes. WSNs are used in applications where wired networks cannot reach, like environmental and infrastructure monitoring. Their advantages include scalability and ease of deployment, though they have limitations in resources like battery power and bandwidth.