A computer device that writes information to a dvd would be in which category?

Data storage device

Computers process information stored in their memory, which consists of data storage units. Storage devices such as CD and DVD drives are called the external or auxiliary storage units, whereas the principal memory devices directly accessible from computers are called the internal or main storage units, which rely on semiconductor memory chips.
There are mainly two types of semiconductor memory: random-access memory (RAM) and read-only memory (ROM). RAM is a temporary data storage domain, whereas ROM serves as a semi-permanent storage domain. If RAM is likened to notebooks or memo pads, then ROM is comparable to dictionaries and textbooks.

RAM—a memory device for reading/writing data

Since random-access memory (RAM) is principally used as temporary storage for the operating system and the applications, it does not much matter that some types of RAM lose data when they are powered off. What matters more is the cost and the read/write speed. There are mainly two types of RAM: one is DRAM (dynamic RAM), and the other is SRAM (static RAM). DRAM stores information in capacitors, and since the capacitors slowly discharge, the information fades away unless the capacitor charge is refreshed periodically. In practice, the data on DRAM need to be read and rewritten (i.e., refreshed) dozens of times per second. In contrast, SRAM needs no refreshing because it uses flip-flop circuits* to preserve the data. SRAM is more expensive than DRAM because of the complex circuitry involved, but is also faster.

*Flip-flop circuit: An electronic circuit that stores a single bit of data that represents either 0 or 1.

ROM—a read-only memory device

Read-only memory (ROM) is used for retrieving stored data that are permanently fixed and cannot be rewritten. Many home appliances such as washing machines and rice cookers use ROM devices to store pre-set programs.
ROM is non-volatile memory, meaning that the data stored on ROM are not lost even when the power is shut off. ROM is designed specifically for reading data. It may be possible to erase or write data on ROM, but it takes an inordinately long time to do so. To correct this shortcoming, new kinds of devices have emerged in recent years that serve as a cross between ROM and RAM, including flash memory and EPROM.

Computers use a variety of data storage devices that are classified in two ways: one is whether they retain the data if there is no electricity and the other is how close they are to the processor (CPU). Both types of storage are needed in all computers. In a personal computer, memory does not retain data when the electricity is off, but while it is on, it enables quick access to open files. A storage drive, however, allows you to permanently store data, so it's available each time you turn on the computer.

Volatile and non-volatile storage

The first classification of computer data storage is between volatile and non-volatile storage. An example of volatile storage is memory (RAM) that stores data only until there is no electricity powering the device. RAM allows your computer to have multiple files open and access any of them instantly. Some other examples of volatile storage devices are calculators.

A Crucial DDR4 UDIMM RAM memory module

Non-volatile storage is storage that maintains the data even when there is no electricity powering the device. An example is a hard disk drive (HDD) or solid state drive (SSD) that holds all of the data saved to your computer. There is other non-volatile storage, such as DVDs or flash drives. For more information about the difference between memory and storage, read here.

Two examples of non-volatile storage including a USB flash drive and a Crucial SSD

Storage hierarchy

Computer data storage devices are also classified by their distance from the processor, or CPU. The closest storage is memory, or RAM. This is the only kind of data storage that directly accesses the CPU. Memory includes processor registers and the processor cache, but these are included on the memory module.

Memory is volatile storage, so any information that goes into memory needs to be written to the main storage device to be retained permanently. Because data flows from memory to a storage device, it's considered secondary storage.

For most personal computers, secondary storage is the main data storage device. A hard disk drive or solid state drive holds all of the data; files, photos, programs, music, and movies, that the user wants to keep. Removable, external media storage devices such as flash drives and read/writeable CDs and DVDs are also secondary storage. A computer can't function without a storage drive, however. The storage drive also holds all the information the computer needs to run.

Tertiary storage is computer data storage that uses removable media, such as a tape drive, and it uses a robot to retrieve the data. This is rarely used in personal applications.

Conclusion

In common use, the hard disk drive or solid state drive is usually referred to as the storage drive. Because memory is volatile, it's hard to think of it as a storage device. And because personal computers rarely use tertiary storage, the storage drive is the main, and frequently, only non-volatile data storage device on the computer. Learn more about the difference between hard drives and solid state drives.