DNA stores information (for future use) in the sequence of nitrogenous bases.
Each nucleotide can have one of four nitrogenous bases. The bases can be in any order in a DNA strand of any length. So, in a DNA strand of n base pairs long, there are 4^n possible sequences. Furthermore, while A always pairs with T and C always pairs with G, these pairs can be arranged in any order along the DNA strand. Mutations also introduce new sequences.
DNA can also store an incredibly large amount of information in an extremely small volume.
Computer scientists are developing ways to use DNA to store digital information from devices that generate and use data in exponentially increasing amounts.