Water consists of oxygen and two hydrogens. When frozen, they turn into an isosceles triangle. If you stack these triangles like pizza slices, you get a snowflake.
The shape of the snowflake depends on the freezing temperature. If it's not very cold, you get a flat snowflake, like the one on the right, and if it's very cold - a spiky one, like the one on the left.
