Ice is classified as a solid. When water freezes, its molecules lose energy and come together to form a crystalline structure, which we recognize as ice. This solid state has a definite shape and volume, unlike liquids, which take the shape of their container and gases, which have neither a definite shape nor volume.
To further clarify, all three states of matter—solid, liquid, and gas—are different forms that water can take depending on temperature and pressure. Ice becomes liquid water when it melts, and it turns into water vapor when it evaporates at higher temperatures. Therefore, it’s important to understand that while ice is a solid, the same substance can exist in different states under varying conditions.