The answer is a single word; Consciousness. It is not the accidental byproduct of random evolution, it is the reason for it.
Before the first material Universe was created there was a ball of photonic energy of such magnitude that the plasma it contained coursed and crackled uncontrollably. It was self-aware and desired to expand through ‘experience’. What we are experiencing now in embodiment is a result of this desire for the expansion of experience.
At the absolute core of everything is a photon of consciousness. Everything comes from this. Our planet is matter coalesced within a planetary consciousness using the photonic energy of the Galactic Consciousness it is contained within. The Galaxy obtains its energy from the photonic energy of the Universal Consciousness it resides within. The Universe obtains its energy from the Prime Creator it is directly connected to.
This energy exists within the photons that constitute their respective consciousnesses.