Not only age. "лет" can be also applied to the period in time, for example. "11-й год" , like in "11 AD", is the object itself, while "I'm 11 years old(мне 11 лет)" is the trait of particular object/person. Not starting linguistic discussion, let's just note that "лет" is just plural form genitive case of word "год".