What type of phrase is in the sentence?

A good habit to have is to go for a walk in the evening.

O Infinitive phrase

O Noun phrase

Prepositional phrase

O No answer text provided.