Wireless Sensor Network (WSNs) can perform transmission within themselves and examination is performed based on their range of frequency. It is quite difficult to recharge devises under adverse conditions. The main limitations are area of coverage, network's lifetime and aggregating and scheduling. If the lifetime of a network should be prolonged, then it can become a success along with reliability of the data transferred, conservation of sensor and scalability. Through many research works, this challenge can be overcome which are being proposed and the network's lifespan improved which can preserve the sensor's energy. By schemes of clustering, a low overhead is provided and the resources are efficiently allocated thus increasing the ultimate consumption of energy and reducing interfaces within the sensor nodes. Challenges such as node deployment and energy-aware clustering can be considered as issues of optimization with regards to WSNs, along with data collection. An optimal solution can be gotten through evolutionary and SI algorithm, pertaining to Non-deterministic Polynomial (NP)-complete along with a number of techniques. In this work, Krill Herd Algorithm based clustering is proposed.