The coolest layer of the Sun is the temperature minimum region about 500km above the photosphere. It is about 4,000 kelvins. It is the only part of the Sun cool enough to support simple molecules such as carbon monoxide and water; all other parts of the Sun are hot enough to break chemical bonds.