Transfer of phosphate group from ATP to a carbohydrate is referred to as phosphorylation and is carried out in the presence of phosphorylase enzymes. E.g., glucose (a carbohydrate) is phosphorylated to glucose-6-phosphate by ATP in the presence of enzyme hexokinase or glucokinase and Mg2+.