This document presents a new approach to the round-robin scheduling algorithm for CPU scheduling in operating systems, aiming to enhance CPU efficiency in real-time and time-sharing environments. It discusses various CPU scheduling algorithms, outlines the objectives for an effective scheduling algorithm, and provides a comparative analysis of first-come-first-served (FCFS) and round-robin algorithms. The conclusion highlights improved average waiting and completion times achieved using the proposed algorithm compared to traditional methods.