This paper presents a method for energy-efficient data transmission in wireless sensor networks (WSNs) by proposing a relay node selection algorithm that utilizes multiple sinks to improve packet delivery and reduce energy consumption. The technique involves selecting relay nodes based on received signal strength to optimize communication paths and facilitate data delivery, particularly for real-time applications. The findings show that implementing mobile sinks and relay nodes can significantly enhance the WSN's overall performance and longevity.