To dream that you are sad suggests that you need to learn from your disappointments and just be happy. Try not to dwell on the negative. The dream may be a reflection of how you are feeling in your waking life.
To dream that someone else is sad may be a projection of your own feelings. Perhaps you are sad about something that happened with this person.