DRAM is often compared to SRAM (Static RAM). SRAM is able to store data as long as power/energy is used. There is no need to refresh it. SRAM can also be faster than DRAM. But SRAM is much more expensive than DRAM. Also, SRAM uses more electric power and heats up much faster than DRAM.