What does an operating system control?

The hardware of a computer.