Optimizing traffic flow by adjusting traffic lights at junctions is crucial for reducing queue length and minimizing vehicle delay time, thus improving traffic management. Action, environment conditions, reward patterns and state transitions forms the key components for the chosen RL scheme. Action is chosen to be next phase of traffic signal with intermediate wait light (yellow). At each time step, an agent takes an action (it is the best phase duration of green or red traffic light signals) on the environment based on its policy