Age descriptions use hyphens when they act as adjectives, such as “a two-year-old child.”