What is the function of a protein macromolecule?

What is the function of a protein macromolecule?