Glucose is broken down to release the ATP, but if there is no glucose, glycogen (in animals ) or starch (in plants) stores left then other respiratory substrates are used.
Lipids can be hydrolysed to glycerol and fatty acids. The glycerol is phosphorylated into triose phosphate and enters aerobic respiration at the Krebs cycle. Proteins could also be modified and used.
The amino group is removed (deamination) from the amino acids. The carbon compound that remains can enter the Krebs cycle.