Sensor networks are dense wireless networks of small, low-cost sensors, which collect and disseminate environmental data. Wireless sensor networks facilitate monitoring and controlling of physical environments from remote locations with better accuracy. They have applications in a variety of fields such as environmental monitoring, indoor climate control, surveillance, and structural monitoring, medical diagnostics, disaster management, and emergency response, ambient air monitoring and gathering sensing information in inhospitable locations. A sensor network is a computer network composed of a large number of sensor nodes. The sensor nodes are densely deployed inside the phenomenon, they deploy random and have cooperative capabilities.