Dreams or visions about a deceased person tell you that you are projecting the character traits of the deceased person, you miss this person and his traits, love, affection, protection, or close negative traits, you let go of the traits, you may want the traits have to achieve your goal or wish.
Another explanation is that deceased people pass on a message that is personal to everyone, follow your own feelings and listen to your innermost self and your own wisdom; this will answer your questions. Another explanation is the end and the new beginning, the cycle of life, death and rebirth of a wish, dream, idea, spiritual and physical phase.
Dreams or visions about your own death tell you about the end of a project, wish, dream, idea, or phase of life, and the new life and opportunities and possibilities that will come your way. You have closed and left something behind and you are now ready to start building it carefully.