In astronomy or planetary science, the frost line, also known as the snow line or ice line, is the particular distance in the solar nebula from the central protostar where it is cold enough for volatile compounds such as water, ammonia, methane, carbon dioxide, carbon monoxide to condense into solid ice grains.