From a spiritual perspective floating in dreams is often a precursor to out of body experiences.

In lucid dreaming we can learn to control flight, and to astral travel (deliberately change consciousness).