Dreaming of death or dying may symbolize a phase in your life has come to an end and something new is beginning.
May represents n aspect of yourself that has died, so something new can emerge.
May symbolize overcoming a bad habit or behavior.
May represent the end of a relationship.
Since the people in your dreams often depict different aspects of yourself, then the person you see dead or dying is important to deciphering the dream. What does this person represent to you? For instance, a child dying can symbolize you are maturing in some way and leaving a childish aspect of yourself behind.