explain why ice is less dense as a solid than as a liquid

Water is one of very few compounds that has this property. Ice has a crystalline structure that keeps the molecules father apart than they would be if they were randomly oriented, as they are in the liquid phase.