Gravity existed before the Big Bang, influenced by energy rather than matter, as described by the equivalence of energy and mass (E=mc²). Its effects on energy, such as light, can be observed through phenomena like gravitational lensing. General Relativity suggests gravity was crucial for the universe's evolution, but its influence was negligible during the early universe due to extreme temperatures and random thermal motion. Before atoms formed, the universe was a quark-gluon plasma, where gravitational forces were too weak to affect particle trajectories significantly. As the universe cooled, stronger forces allowed for the formation of protons, neutrons, and eventually atoms, enabling gravity to play a role in the creation of stars and galaxies.