In biochemistry, phosphorylation is the attachment of a phosphate group to a molecule or an ion. This process and its inverse, dephosphorylation, are common in biology. Protein phosphorylation often activates (or deactivates) many enzymes.