A participle, a gerund, or an infinitive May be used as a noun substitute. The infinitive functions either as an adjective or as a noun.
Lennie could not survive on his own which why George is with him
In a little town not to far from here there was a farmer and his son. They lived on a little hill while they attended their farm off to the east. In the free time though when the little boy wasn’t helping his dad, he was working on a little dam.