How is the infinitive phrase used in the sentence? To prepare for the exam, study a little bit each night.
a. adverb
b. noun as subject
c. noun as direct object
d. adjective
This is having the same function than an adverb would have here (answer a). Adverbs can specify how something is done, but also why and with what purpose: the last is what is relevant here.