Nanomaterials such as nanotubes, nanowires, and nanoparticles are used in energy storage devices. These materials can improve the performance of batteries and supercapacitors by providing higher surface area, better conductivity, and enhanced electrochemical properties.