I'm not great at electronics, but it looks like it alternates turning on the two LEDs.
That's probably it — an astable multivibrator.