The eli5:
Electricity is a force like gravity. Electrons can feel this force, and flow like water.
Wires and circuits are essentially change for the electrons to flow. When they reach a component like a motor they cause it to turn, like a water wheel.
Other components often have mechanical analogs. Transistors can be seen as levers or doorways. Electricity flows against one side, opening or closing it.
A clever arrangenent of these can create situations where flipping one lever closes.or opens others. This allows you to design a setup where a few small changes can alter lots of different things.
Mechanical computers do exist, but are much much larger.
Latest Answers