You will need to learn if you are striving for a goal.
infinitive is: to learn
is it used as an adverb?
2 answers
Yes, "to learn" is the infinitive, but I think it's the direct object.
it is used as a noun,an adjective,and also and adverb.