The latter. I suggest reading https://en.wikipedia.org/wiki/Paleoclimatology#Reconstructin...