The sun is the ultimate source of energy for virtually all organisms. Photosynthetic cells are able to use solar energy to synthesize energy-rich food molecules and to produce oxygen.
We can see how circuits work, and represent them with some simple diagrams, using basic electrical components like these. You start with a cell, or combination of cells. These could be batteries ...