Danny has worked hard for long to realize his dream and now he is popular.

问题描述:

Danny has worked hard for long to realize his dream and now he is popular.
请问不定式 to realize his dream在句子中做什么成分?为什么?

动词不定时做状语 表示目的
例子
i worked 10 hrs to finish my homework.
我工作10个小时,目的是完成家庭作业.