Here's why:
* Affluent is an adjective describing a group of people.
* The is a definite article, used before nouns to specify which one.
* The affluent together refers to a group of people who are wealthy.
Therefore, the entire phrase "the affluent" acts as a noun, just like the word "people" would.