Hard disk drives are storage devices, they use an I/O buffer so to answer your question, they are both. I/O stands for input/output.
Speakers are a good example of an output device.
The mouse is a good example of an input device.
Chat with our AI personalities