A hardware device which can be used to store digital data and applications which may be in the form of images, video, audio, etc. is called a storage device.
It is a key component of a computer and the hard drive is one of its examples.
There are two types of storage devices used with computers: a primary storage device, such as RAM, and a secondary storage device, such as a hard drive.