How is the infinitive phrase used in this sentence?
The fence was installed to keep the children from accidently falling in the pool.
a. noun as subject
b. adjective
c. adverb
d. noun as direct object