(covers information from several alternate timelines)
A dream is a series of sensory inputs and emotions involuntarily occurring in the mind during REM sleep. Generally, only those sensory inputs that are pleasant or neutral to the dreamer are referred to as dreams; those that are disturbing or frightening are specifically known as "nightmares". Dream analysis held that people who appeared in a dream represented facets of the dreamer's self. (TNG: "Dark Page") According to Federation counselors, dreams might contain valuable insights in that things that don't seem to make sense are actually were key to what your unconscious is trying to tell you. (DS9: "'Til Death Do Us Part")
Someone dreaming would often see people they knew act very different from their normal ways. In November 2151, aboard a damaged shuttlepod, with little hope of rescue (believing the Enterprise NX-01 to have been destroyed), Malcolm Reed dreamt that, while recovering in Enterprise's sickbay, he received amorous attention from T'Pol, impressed with his "heroic" actions, but was awakened just as the Vulcan was about to kiss him. Not long after, having actually been rescued, he asked T'Pol if she was supposed to "say something" about "heroics" - upon hearing her less-than-amused response, he smiled, as it signaled that he was not dreaming and had in fact survived. (ENT: "Shuttlepod One")
In 2374, the USS Voyager encountered the dream species, a species of aliens that lived out their lives in dreams. They became trapped in the same shared dreaming state the aliens lived in, experiencing "false awakenings" - a phenomenon where one dreams they have awakened from a dream, only to have transitioned into another dream - while trying to wake themselves up and escape. (VOY: "Waking Moments")
Background information Edit
Although stated as such in TNG: "Night Terrors", REM sleep is not the exclusive purview of dreams - it is simply the most common time to dream. 5-10% of people who are woken during non-REM sleep also report dreaming. We can perhaps forgive Crusher being inexact as she was impaired by the effects of the Tyken's Rift.