Why is There a Ring Around the Moon?

One explanation for why there is a ring around the moon is that clouds containing ice crystals produce a halo effect when you look at the moon. Other explanation include that the ring is a sign of bad weather on the way.