Jupiter, along with Saturn, Uranus, and Neptune, are classified as gas giants. This means they are primarily composed of gas, primarily hydrogen and helium, with a small, solid core.
While they might have a small, solid core, they don't have a solid surface like Earth or Mars.