During glycolysis, a glucose molecule is broken into 2 molecules of pyruvate.
The pyruvate enters the citric acid cycle.
These 2 steps produce a few molecules of ATP by substrate-level phosphorylation.
Energy stored in electrons are moved to the ETC, where much more ATP are produced by oxidative phosphorylation.