system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How do the gas giants not have a rocky core if they’re credited with protecting Earth by sucking in hazardous asteroids for billions of years?

Surely over the course of billions of years of sucking in rocks, comets, asteroids, dust, etc. and breaking apart moons, the gas giants would have a rocky core? 

Not to mention that any gas that succumbs to the immense heat and pressure inside the core of a gas giant would likely turn into a solid metal-esque state?
gpt
You are correct, gas giants like Saturn and Jupiter do indeed have solid cores. They simply do not have a hard surface/crust like Earth does, usually made of gas or compressed gas in the form of liquid. The vast majority of their mass does come from gas, which is why we call them gas giants.