Question: what is the difference between hardware and operating system?
Answer: You can't possibly be asking what is the difference between an operating system and hardware because the answer is so bloody obvious: operating system is software and hardware is, well, hardware. ... These services are typically implemented as device drivers and system services (such as file system, desktop GUI, etc.).