As Revenged stated in his rather strange ellipsis-segmented post, ATP is produced in the metabolic pathway, that is respiration. Glucose is a carbohydrate which can drive the reaction to produce ATP. Glucose needs to be converted to produce ATP which is the immediate energy releasing molecule.
(Original post by Decota)
Glucose needs to be converted to produce ATP which is the immediate energy releasing molecule.
[pedant]Strictly speaking, glucose isn't 'converted' to anything, but rather oxidised in a series of redox reactions.[/pedant]
And BTW, that is Revenged's unique style. They don't teach medical students anything these days.... *whistles*
Slightly off-topic from the original OP's question, but it is important to remember that ATP is not the be-all-and-end-all when it comes to storing potential energy for the cell to use. The proton-motive force plays a vital and direct role in many active transport systems. This is particularly evident in bacterial species, where the majority of their active transport systems directly use the electrochemical gradient of protons to power the uptake of nutrients and explusion of waste ('proton-power' is also used for locomotion via flagella, and producing heat by uncoupling respiration and opening non-ATPase channels).
Oh and another interesting side-note - Did you know that ATPase can run equally well in reverse by splitting ATP into ADP +Pi? Why? This allows the cell to maintain the proton-gradient even if oxidative respiration fails. ATP is produced by fermentation, and split to ADP + Pi by ATPase, thus pumping a proton across the membrane, maintaining the proton gradient.
Sorry for geekiness; i've just been reading, and got a bit over-excited....