Is there any evolutionary reason for glucose being the "main" molecule used as a source of energy, beginning with glycolysis and subsequently cellular respiration (after being converted to two pyruvate molecules)? Or did this particular biochemical pathway arise "by fluke" early on in the history of life?
A colleague of mine told me that it was because as shown below, all of beta-D-glucose's hydroxyl substituents are all equatorially positioned (when in the correct chair conformation), which lends to its general stability.
I thought this was a great question. In particular because it hints at two questions. The first is 'why carbohydrates are used to store energy' in general. The second being 'why glucose rather than other carbohydrates?' in particular.
Glucose metabolism (and glycogen storage) is a core gene pathway - its found in bacteria archaea and eukaryotes. So probably the most that we can readily say about question one is that as @rwst points out this pathway has proven to be useful at a critical juncture of the formulation of living things on earth. If you look at glucose metabolism pathways, you can see that glycerate compounds and pyruvate are the actual intermediates that are used to create energy. The first thing about these molecule worth noting is that they have a good mix of carbon and oxygen, which would make it easier to extract energy - creating CO2 from these compounds may even predates the existence of atmospheric oxygen. So glucose and fructose (which is actually derived from glucose in the metabolic pathway) are actually storage molecules themselves, easily broken down to smaller molecules.
As to the second question: there are quite a few ways to arrange oxygen around the carbohydrate ring. why glucose? The advantages of glucose is probably a subtle one. The structural properties of glycogen might be a reason that the use of glucose monomer is so important for glycogen. There is no evidence that I can find for this, so its always possible that glucose was just the first hexose carbohydrate to be biologically used. Its sort of hard to imagine that the structure of glucose does not play some sort of role in cell structure though.
This is only a guess but I hope somewhat educated, so refute me. The establishment of glucose as nutritional molecule is mainly linked with the availability of carbohydrates in the environment, i.e. plants as nutrition. Before plants evolved however, there were only bacteria and they use glucose as one of many oligosaccharides. But more important than glucose is trehalose because it is less toxic and can be collected in large amounts in the cell. The only reserves for glucose are glycogen and the bacterial cell wall which can be catabolized. So, in my guess, the reason for the mere existence of glycolysis/gluconeogenesis pathways is the bacterial cell wall that has to be synthesized and catabolized. Only later were these pathways differentiated when land plants came up and animals that et them.
It is simply not true that all living organisms or even most organisms all share some ancestral version of Glycolysis.
Various versions of Glycolysis and Fermentation were later coevolutionary after thoughts which emerged after Respiration; and why? Glucose was not readily available when life first emerged.
As a matter of fact, many Prokaryotes use two far more ancient alternate pathways to break down Glucose: The Pentose Phosphate Pathway or the Enter-Duodoroff Pathway.
Gluconeogenesis, now that’s different. All species can make glucose, and the major part of what many textbooks identify the glycolysis pathway is actually Gluconeogenesis running backwards.
Problem is: the capture of light energy to produce sucrose and other carbohydrates is a highly specialized phenomenon from an evolutionary POV that's not really part of photophosphorylation and photoreduction in Prokaryotes or even Cyanobacteria.
And how about Respiration in Prokaryotes? Most do not rely on reserves of Glucose as a precursor.
What about Eukaryotes? There are many points of entry into aerobic respiration and NOT ONLY Glycolysis.
So why is Glucose given so much emphasis? Glucose is the precursor of Lignin, Cellulose and Chitin. Lignocellulose aka plant dry matter (biomass), is the most abundantly available raw material on Earth for transfer to the second trophic level.