The number of rings is equal to the number of years the tree has lived. The light and dark colors of the rings only indicate the warm and cold seasons they have been through. For a year, there's summer and winter so you don't count it as 40. So, the tree is 20 years old.