Technically speaking it is both. It can read as well write information.
Chat with our AI personalities
It is both an input device and output device as the data recorded on disk is both read by the computer system and the result of any computation is generally permanently stored on a disk. Therefore, we can say that disk are used both for input and output purposes.