Flash memory is a memory storage device for computers and electronics . It is most often used in devices like digital cameras , USB flash drives , and video games . It is primarily used in memory cards , USB flash drives , MP3 players and solid-state drives for general storage and transfer of data between computers and other digital products .