When referring to people, adjectives can sometimes be used as nouns. The definite article precedes the adjective, which is now capitalized because it is functioning as a noun. The adjectival nouns take the regular adjective endings for adjectives preceded by a der word as well.
der Alte - the old man
die Alte - the old woman
das Alte - everything that is old
die Alten - the old people