GO:0008168: methyltransferase activity
Catalysis of the transfer of a methyl group to an acceptor molecule.