An electrical circuit is a loop that connects all of the parts without a break.
It's as simple as that.
The way the parts and the wires are arranged doesn't matter, so long as there is a loop of connected parts.
Sounds simple but lots of people forget this rule and wonder why things don't work!