Mechanistic exploring the catalytic activity of single-atom catalysts anchored in graphitic carbon nitride toward electroreduction of nitrate-to-ammonia