Multifunctional solar energy