What it means
と聞いた reports information that the speaker heard or was told in the past. It follows a plain-form clause and presents that clause as the content of the reported information. The speaker does not necessarily say who provided the information, and the statement may be hearsay rather than personally confirmed. The polite counterpart is と聞きました.
Usage note
The clause before と聞いた is normally in plain form, including だ after nouns and な-adjectives. Do not confuse this pattern with a question using 聞く, which can mean asking someone about something depending on the surrounding particles and context.
How to use it
この町の冬は寒いと聞きました。
I heard that winter in this town is cold.
この町の冬は寒いと聞いた。
I heard that winter in this town is cold.
