Respuesta :

To play baseball was her only thought.

The infinitive phrase (to play baseball) is the subject of the sentence. Therefore, it is used as a noun.

RELAXING NOICE
Relax