A green carbon dots-based fluorescent sensor for selective and visual detection of nitrite triggered by the nitrite–thiol reaction