Question

Explain why the is happening in the circuits provided below? Why the lamp is on in the first and second circuits and why it is off the third circuit?

Fig: 1

Fig: 2