Answer:
A planet is defined as any celestial body which has enough matter to form itself into a sphere (or spheroid), but without enough mass to begin nuclear reactions. This definition has no relation to what the body is made of, so a gas planet is just as much a planet as one made of rock or one made of styrofoam.