A digital camera is a hardware device that takes photographs and stores the image as data on a memory card.