Plants have developed various mechanisms to protect themselves from environmental stresses like drought, salinity and extreme temperatures. One such protective mechanism is accumulation of compatible solutes like proline, glycine betaine and trehalose which help in osmoregulation and stabilization of proteins and cell structures. Under stress conditions, plants upregulate biosynthesis of these compatible solutes to enhance stress tolerance.