"Have you tried restarting your machine?" These are the six words your company's ever-so-patient tech guy rattles off whenever you summon him to fix your frozen laptop. That's because 98%* of the time, it works. Why is that a thing? What is this high-tech sorcery? And why does it work just as well for your glitchy Super Nintendo as it does for your router when the WiFi slows to a crawl?
*We made this up. But seriously it, like, always works.
Well, just like when you're feeling tuckered out, gadgets need little naps too sometimes.
Your computer does a hell of a lot all at once, especially if you're a demanding customer -- constantly streaming on Spotify, opening infinity Chrome tabs, editing in Photoshop, Slacking with coworkers, watching weird webcams. You risk using up too much RAM, or temporary memory, for everything to run smoothly all the time, especially if one of those programs glitches in any way. Restarting wipes out all that temporarily stored data, giving the software a clean slate to run normally again. And since your smartphone is basically just a pocket-sized computer, the same logic applies.
As for the other gadgets you've found yourself rebooting when things go south -- your wireless router, gaming console, Apple TV, etc. -- they all run software that can be corrupted by overuse or random interference, so a restart is like shaking a messy Etch A Sketch clean.
You've also probably heard you're supposed to unplug and wait a few minutes before booting back up. There's a good reason for that, too. Basically, this ensures the machine is completely off, since even after you've flipped the switch power may still be circulating from the capacitor (the component that regulates the flow of power from the outlet). Things don't reset until it's depleted completely.