Dear student ADP and AMP is not used to produce energy, only ATP is used for the energy production. This is because
ADP and ATP are substituted phosphoric anhydrides. ATP has a strong tendency to hydrolyze due to the electrophilic nature of the central phosphorus atom which bears two electron-deficient phosphate leaving groups. (note that ADP has only one, and is a poorer source of energy, whereas AMP has only a normal phosphate ester linkage.) ATP is kinetically relatively stable to hydrolysis in the absence of an enzyme (which would simply waste the energy as heat), but a wide variety of enzymes are able to couple the ATP hydrolysis reaction so as to drive various reactions or other processes.
The reaction mechanisms are bit complicated so I'm not explaining about the reaction mechanisms of energy production by ATP, ADP and AMP.