The green lights are used for monitoring your heart rate.
The way this is done is by a process called photoplethysmography. The green light shines into the skin where your blood cells are passing by the area.
There is an optical sensor that detects the passage of blood and then estimates a heart rate based on that information.