Advances in nanomaterials for energy and sensing applications: from fundamentals to device | Synapse