what is the main difference between hardware and software?
Computer hardware is any physical device used in or with your machine, whereas software is a collection of codes installed onto your computer's hard drive. For instance, the computer monitor you're currently using to read this text and the mouse you're using to navigate this web page is computer hardware.