Glucose that is consumed is used to make energy in the form of ATP, which is used to perform work and power chemical reactions in the cell. During photosynthesis, plants convert light energy into chemical energy that is used to build molecules of glucose.