Your system has a lot of different power states. They are managed by ACPI (Advanced Configuration and Power Interface) sitting on the motherboard.
Now when the operating system wants to reboot, it sends a command to that ACPI thingy to do so. The system goes down and ACPI turns it back on.
Stuff like power buttons on keyboards trigger similar ACPI stuff to work.
Latest Answers