1) I like to run. (functions as a direct object)
2) I wanted to cook dinner for my parents. (functions as a direct object)
3) To fly an airplane is a dream of mine. (functions as a subject)
4) I cannot believe you knew to put out grits to attract ants! (functions as a direct object)
5) The fair is the place to go. (tells us which place)
Hope I was able to help. :)