I. Introduction
WIRELESS Sensor Networks (WSNs) are spatially dispersed sensors that are used to detect physical conditions of the environment and transfer collected data to a central location for communication purposes. In a WSN, data is forwarded to a sink node from sensor nodes, which can generate their own data in addition to acting as relays [1] . Even though they were initially designed for military purposes, they have broad usage areas in the modern world such as smart home systems, vehicle tracking, and medical imaging [2] .