does gas only have mass?
No, everything has mass. Liquid, Solid, Plasma and Gasses are just examples.