555 Oscillator (Astable Multivibrator).
In this mode the LED will flash. Depending on the farad of the capacitor the green LED will stay on longer upon depletion. Changing the potentiometer will shorten the flash of the red led being driven by the 12V supply.
Output is square wave.