A simple and sensitive fluorescent sensor for methyl parathion based on L-tyrosine methyl ester functionalized carbon dots.