rêvaient
Rêvaient is the imperfect indicative plural form of the French verb rêver. It corresponds to the English "they were dreaming" or "they dreamed" and is used to describe past actions or states that were ongoing, repeated, or customary. The sense can be literal, referring to dreams during sleep, or figurative, referring to aspirations or hopes in the past (for example, dreaming of a future goal).
Rêver, from which rêvaient is derived, means both to dream while asleep and to dream about or
Common constructions include describing ongoing past scenarios (Ils rêvaient de devenir médecins) or habitual past states