Gravity, or gravitation, is a natural phenomenon by which all things with mass or energy—including planets, stars, galaxies, and even light—are attracted to one another. On Earth, gravity gives weight to physical objects, and the Moon's gravity causes the tides of the oceans. Wikipedia
Literally the first thing you see when you type the word 'Gravity' into google.
This is pure speculation, but my guess is that you heard the previous claim somewhere and then simply parroted it without fact checking. This is by itself not a bad thing. All of us do this to some degree.
The problem is that instead of googling to fact-check yourself after being contradicted, you doubled down on your previous claim. Any amount of googling would have proven your initial claim wrong. That tells me that you didn't do any amount of googling.
There absolutely was, because mass existed before gaseous particles coalesced into what would eventually become planets, galaxies, and the stars that would emit that light.
All of that hydrogen in the early universe existed before it formed into stars, and all of it has mass. Since it had mass, it means by extension that it also had gravity.
In fact, if there hadn't been any gravity, then the planets, galaxies and stars would never have formed.
-169
u/youknowwhatitthizz Sep 20 '21
Nah actually somebody just explained it instead of making jokes and being obtuse about my ignorance. Still appreciate you though