As a solid. The molecules in the solid states are very far apart or further apart than they are in the liquid water states. And that means liquid. The molecules are closer. So for some given volume water, liquid or liquid water is more dense than solid water. And that's why ice states a float.