Here's why:
* Adjectives modify nouns. In this sentence, "dust" describes the action of dusting, which is a verb. However, "dust" acts as a noun in this context, referring to the act of removing dust.
* "Books" is the noun being modified.
Therefore, "dust" is the adjective because it modifies the noun "books" by specifying the purpose of lifting them (to dust).