# How does this RS-latch with open switches power the lightbulb?

So I'm trying to learn some of the basics in electrical engineering such that I can better understand how computers work and I'm currently reading about circuits with switches, relays, different gates and how to produce different outputs based on inputs. I don't have a background in electrical engineering and this is the first book I've read related to this stuff so bear with me.

What I'm struggling with is this RS-latch. I understand the logic behind how the output is the input inverted and all that, and how to "activate" the different cords. I think that's basically what the circuit is meant to illustrate. However, what I don't understand is how the lightbulb is lit in this circuit. From my understanding there needs to be a closed circuit with a power source (battery) connected for the electrons to travel through the lightbulb to turn it on. Here, none of the batteries are connected to the circuit and the lightbulb is still lit.

What am I missing here? Is this just an illustration of how the concept of logic gates work and not a complete circuit?

• the illustration is not a schematic diagram ... it is a logic diagram ... it is a kind of a block diagram ... the power connections are implied ... they are not shown because they would only clutter up the diagram and they are have nothing to do with logic anyway Commented Aug 13, 2019 at 16:28
• I don’t see any batteries. Commented Aug 13, 2019 at 16:39
• @jsotola: that is the answer. Please paste it into an answer and it'll be good. Commented Aug 13, 2019 at 16:55