The introduction of a phosphoryl group into a compound through the formation of an ester bond between the compound and a phosphorus moiety.
More specific conditions that are subtypes of Phosphorylation in the MeSH hierarchy.