Neptune and Uranus belong to a distinct category of planets called 'ice giants.' Despite their name, these planets are not composed entirely of ice. Rather, they consist of a combination of water, ammonia, and methane, which give them their characteristic blue hues.