Waste-derived nanocomposites as dual-function materials for water and energy sustainability | Synapse