Is mercury a gas giant or a terrestrial planet?

Mercury is a terrestrial (rocky) planet. The four gas giants in our solar system are Jupiter, Saturn, Uranus, and Neptune.