Hard drives work as both input and output devices. They act as input devices when you save data to them. As output devices, they work when you get data from them.