Dying is an idea that nobody likes confronting, especially not in their sleep with a dream like dying death, dying in a dream etc. But the unfortunate reality of life is that we will all one day die.
Having a dream in which you see yourself dying means that you are worried about your health and the way you have been taking care of yourself recently. In fact, odds are you haven't really been taking care of yourself; otherwise you wouldn't have been having dreams like this. You are worried about your health probably because you haven't been paying attention to your needs lately. You need a lot of different things to make sure that you are functioning well and that you are healthy. These needs involve fresh and delicious foods, they involve a lot of exercise and a daily health regimen, and it also involves not getting into any unhealthy addictions. You cannot spend all of your time doing things that are bad for you because they are a lot more fun or a lot more convenient, but you can't play games or take shortcuts with your health or else it makes it difficult for you to function and to be happy. If you have a dream in which you see a vision of you dying it means that you finally realize that it's time to cut out the act of playing games with your health. It's time for you to cut down on the bad addictions.
If you have a dream in which you are dying death it means that you are worried of your health. These dreams most commonly pop up in your head once you have started behaving in a way that was not conducive to good health. You are worried about the poor habits that you have been cultivating and how little care you have been taking of yourself. If you want to really see improvements then you need to do all you can do to make sure that you are well taken care of. You are your own greatest asset. Even if you are worried about your friends, your family, your child, your wife, anyone, you need to remember that in order to take care of them, you still need to take care of yourself first otherwise you will end up dying and they will then have to fend for themselves. You are more important than you are treating yourself, remember that.
If in a dream you see yourself dying in a dream, the most common reason this happens is because you are about to wake up. Oddly enough sometimes our minds are wired to be able to tell that we are about to wake up right before we do. So if you have a dream in which you see yourself dying, since you logically cannot die and since you usually see yourself waking up after a death dream it means that you need to try the best that you can to make sure that you keep your whining down to a minimum and start sticking to a better sleep schedule. This is the only way that you will be able to function in the future without being constantly woken up in the middle of the night because of death dreams. This is the only way, bottom line.