Two-Dimensional Nanomaterials For Renewable Energy Generation And Sensing Applications