Anthocyanins have been used in organic solar cells because of their ability to convert light energy into electrical energy. The many benefits to using dye-sensitized solar cells instead of traditional p-n junction silicon cells, include lower purity requirements and abundance of component materials, as well as the fact that they may be produced on flexible substrates, making them amenable to roll-to-roll printing processes.