When water is heated, its volume initially decreases due to the unique structure of ice, which is less dense than liquid water. Ice has a density of approximately 0.9167 g/cm³ at 0 °C, making it about 8.3% less dense than liquid water, which reaches its maximum density of around 1.00 g/cm³ at 4 °C. As heat is applied, the crystalline structure of ice breaks down, causing the water to occupy less space until it reaches a certain temperature. Once the water is heated beyond this point, it begins to expand again as it transitions to steam, which occupies significantly more volume. This behavior is attributed to hydrogen bonding, which influences the packing of water molecules and their density at different temperatures.