Flash memory is non-volatile computer memory that can be electrically erased and reprogrammed. Non-volatile means that no power is needed to maintain the information stored on the chip. It is a technology that is primarily used in memory cards and USB flash drives as solid state storage and its main purpose is an inexpensive way of storing or transferring data between computers and other digital products. Its used as primary storage memory on various portable devices due to its low cost, compact size, great physical endurance and low power consumption. The most popular types of flash memory are NAND and NOR.