The function of the 555 timer is mainly determined by two comparators. The output voltage of the them controls the state of the RS flip-flop and the discharge tube. It also contains 3 working states.
In these days of cheap microcontrollers, it is hard to remember there was a time when timing things took real circuitry. Even today, for some applications it is hard to beat the ubiquitous 555 timer ...