Breathing may become irregular with periods of shortness of breath or apnea lasting 20 to 30 seconds. It may seem like your loved one is struggling to breathe and even moaning. The groan is just the sound of air passing through very relaxed vocal cords. This indicatesthe process of dying comes to an end.