Two ways current flows
Electricity is just a crowd of tiny charges drifting through a wire, the way water drifts through a pipe. But there are two very different ways that crowd can move, and almost everything electrical you own falls into one camp or the other. The difference is simply this: does the current always go the same direction, or does it keep turning around?
Direct current (DC) is the steady kind. The charges march in one direction and never reverse — picture a calm river flowing one way down its bed. A battery does exactly this. Its plus end always pushes and its minus end always pulls, so a flashlight, a phone, or a remote control gets a smooth, one-way supply that stays the same from the moment you flip it on.
Alternating current (AC) is the restless kind. The charges surge forward, stop, and rush back the other way — over and over, many times every second. The electricity in your wall outlet does this around 50 or 60 times a second, depending on where you live. Picture a tide that sweeps in and out so fast it blurs. Your lamps and your refrigerator run on this back-and-forth flow, even though it never settles on a single direction. To dig deeper into both, see AC and DC.
Why the grid uses AC
Here's a fair question: if your phone and laptop ultimately run on DC, why does the whole power grid — the wires marching across the countryside on tall towers — run on AC instead? The answer comes down to one beautifully simple device and the problem of moving electricity over very long distances.
When electricity travels for miles down a wire, some of it leaks away as heat, and thin wires waste more than fat ones. The clever trick is to push the same power through at very high voltage and very low current — that combination wastes far less along the way. Then, right before the power reaches your house, you turn the voltage back down to a level that's safe in your walls. The device that does both the stepping-up and the stepping-down is called a transformer, and here's the catch: a transformer only works with AC. The constant back-and-forth of alternating current is exactly what lets it change voltage so easily. Feed it steady DC and it simply does nothing.
This advantage settled a famous fight. In the 1880s, Thomas Edison championed DC for lighting cities, while George Westinghouse and the inventor Nikola Tesla backed AC. People called it the 'war of the currents'. AC won — not because DC was useless, but because transformers made AC so cheap to send across long distances. That's why, more than a century later, the socket in your wall still hums with alternating current.
What 'power' means
You've seen the word 'watts' on light bulbs, hair dryers, and laptop chargers. A watt is a unit of power, and power answers a single question: how much electrical energy is being delivered every second? A 60-watt bulb sips energy slowly; a 1500-watt kettle gulps it down, which is exactly why the kettle boils water fast and the bulb just glows.
Power comes from multiplying two things you already know: the voltage pushing the charges and the current of charges flowing. In plain prose, the formula is P = V × I — power equals voltage times current. Push harder (more voltage) or send more charges (more current), and you deliver more watts. Think of voltage as how hard a hose sprays and current as how wide the hose is; power is how much water actually lands on the garden.
This is also why a too-thin wire gets hot. Every wire fights the current a little, and pushing a big current through a skinny wire wrings up wasted power right there in the wire — and wasted electrical power turns into heat. That's the reason a phone charger plugged into a frayed, undersized cord can grow alarmingly warm: the cord is quietly burning off power it was never built to carry. Match the wire to the current it must carry, and that heat stays where it belongs.
From wall to chip
So your wall serves up AC, but the chips inside your phone and laptop demand steady, clean DC — the kind a battery gives. The little brick on your charger, the power adapter, is the translator that bridges these two worlds. It takes the wall's restless back-and-forth and turns it into the calm one-way supply a chip can live on.
Inside, the adapter does its job in two moves. First a part called a rectifier forces the AC to stop reversing — every time the flow tries to swing backward, the rectifier flips it forward again, so all the charges end up marching one way. But the result is bumpy: instead of a smooth stream you get a lumpy, pulsing one-way current, like a heartbeat. So a second part steps in.
- Step down the voltage: a transformer brings the high wall voltage down to the few volts a chip needs.
- Rectify: a rectifier forces the alternating flow into a single direction, so it no longer reverses.
- Smooth: a capacitor fills in the dips between pulses, ironing the bumpy current into a flat, steady line.
- Feed the chip: out comes clean, steady DC, just like a battery, ready for the delicate circuits inside.
That smoothing job belongs to a capacitor — think of it as a tiny reservoir that fills up during each pulse and quietly drains during the dips between, keeping the level even. The result is the flat, dependable DC a chip craves. Chips are fussy about this: a wobbly supply makes their delicate logic misbehave, so the capacitor's calm, steady output is what lets billions of tiny switches do their work without a hiccup.