Hardware devices are the physical parts of a computer system or electronic setup, such as monitors, keyboards, mice, printers, routers and graphics cards. Unlike software, which is code and programs, hardware devices can be touched, connected, replaced or upgraded to improve performance and functionality.