Scientists engineered balsa wood to absorb sunlight, store heat, and generate electricity in darkness using nanoscale materials and phase change technology.