Every field is challenging same as with WSN. In the past few years, WSN is becoming more popular by reason of its features like scalability, adaptability, etc. but it is also facing various configuration problems but energy exhaustion is a serious issue in WSN. A number of protocols are introduced to save energy and maximize the network's lifetime. Hierarchical cluster-based protocols are considered as most energy-efficient protocols of all. The energy-efficient protocols provide healthier data aggregation and select one node as cluster head to communicate on behalf of other nodes to BS when an immense amount of data is transmitted from many nodes to the base station. In this paper, the data aggregation technique-based clustering protocol for a heterogeneous network is proposed. In this technique, a two-level approach for a heterogeneous network is used to divide nodes into two groups refined nodes and regular nodes. Initially, refined nodes have double energy in comparison to regular nodes. The proposed technique chooses the most energy efficient node as CH from refined nodes and regular nodes to increase the network’s lifetime. CH collects data from sensor nodes and aggregates data at the cluster level and forward it to BS. The proposed technique is compared with various existing routing protocols to measure its performance. MATLAB simulator is used to measure the performance of the proposed technique.