A disk drive is a randomly addressable and rewritable storage device. The term can be broadly interpreted to include optical drives and in earlier times, floppy drives. However, in popular usage, it has come to relate mainly to hard disk drives (HDDs). Disk drives can either be housed internally within a computer or housed in a separate box that is external to the computer