Enhancing catalytic formaldehyde oxidation on CuO–Ag2O nanowires for gas sensing and hydrogen evolution