what's the function of infinitive in this sentence?
What's the function of infinitive in this sentence?
"He put a cup of coffee into the microwave to heat it up."
As we know infinitive could act as subject, object, subject/adjective complement.
I know here "to heat up" is infinitive of purpose.