Answer:
Climate scientists compare the tree growth records to local weather records. For locations where a good statistical match exists between tree growth and temperature or precipitation during the period of overlap, the ring widths can be used to estimate past temperature or precipitation over the lifetime of the tree.