In wireless sensor networks (WSNs), energy of the sensor nodes applied by battery is the important resource. Data aggregation and routing, eliminating data redundancy and reducing traffic to improve the energy efficiency, is essential for WSNs. Hence, cobweb model and data aggregation and routing scheme of cobweb (DARSC) are proposed in this paper. In cobweb model, the network topology is layered and the sink node is in the center, the sensor nodes need maintain the Neighbor_inf about their neighbors. In DARSC, data aggregation stage is used to eliminate data redundancy and data transmission repeatedly, and data transmission stage is used to select reasonable path of data transmission. The results of analysis and experiments show DARSC has outstanding performance in packets delay, dissipated energy and network lifetime.