Introductory infinitive clauses
An infinitive clause placed at the beginning of a sentence can express a comment on the speaker's own words:
To be perfectly honest, I've never really liked him.
To tell you the truth, I'm quite exhausted.
To make a long story short, we ended up sleeping on a park bench.