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.more