What does it mean when you have a dream about someone?
Dreams are manifestation of people's deepest thoughts, so when you dream about a certain person it means that person is in your deepest thoughts. Dreams occur during certain stages of sleep and their scientific study is called oneirology.
that you where thinking about them while you where sleeping
Usually it means you miss them or they miss you