Which describes the underlined phrase in the sentence?

To master another language, you should immerse yourself in the culture.

Amisplaced modifier
Binfinitive phrase
Cgerund phrase
Dparticipial phrase