The application provides a two-dimensional material having the chemical formula (X‑Y‑Z) a m b , X is selected from hydroxyl, ether group, carboxyl group, aldehyde group, carbonyl group, aliphatic group, nitro group, amino group, amido group, sulfonic acid group, phosphoric acid group, cyano group, thiocyano group, hydrocarbon group, substituted hydrocarbon group, halogen at least One; Y is selected from at least one of hydrocarbon group, substituted hydrocarbon group, heteroaryl group, substituted heteroaryl group; Z is selected from at least one of hydroxyl group, thiol group, selenol group, telluryl group; M is selected from Iron, chromium, manganese, copper, lead, zinc, tin, cobalt, nickel, antimony, mercury, cadmium, bismuth, gold, silver, platinum, ruthenium, rhodium, palladium, titanium, zirconium, hafnium, vanadium, niobium, tantalum, At least one of tungsten, molybdenum, gallium, indium, thallium, germanium, rhenium, scandium, yttrium, thorium and lanthanide metal elements; a and b are each independently 1-6. The functional groups grafted on the surface of the two-dimensional material based on structural design have the advantages of known distribution, distribution area, and modification rate.