A daydream is a fantasy one has while awake.
After being bonded together as a result of mating and subsequently separating, T'Pol and Charles Tucker III began to daydream about each other. These daydreams were "accompanied by intense auditory and visual sensations." (ENT: "Affliction", "Bound")
The Talaxians believe that fantasies and dreams come from another place, slipping into the mind and whispering about things one has never imagined. They have a saying: "The dream dreams the dreamer."
In early 2376, The Doctor experimented with adding the ability to daydream into his program. However, the additions malfunctioned after Phlox, a member of the Hierarchy, covertly tapped into the Doctor's cognitive subroutines to spy on USS Voyager. This caused the daydreaming algorithms to intrude into the Doctor's perceptual subroutines, taking over his program. The Voyager crew was able to repair the damage, but later Phlox activated the daydreams again to warn the Doctor of an impending attack by his species. (VOY: "Tinker Tenor Doctor Spy")