Breathing
If a person is not moving around, the fluid normally produced by their lungs is not able to drain away and may collect in the air passages, so that when they breathe they make a slight groaning (rattling) noise. This can be upsetting for the people around, but does not seem to be uncomfortable for the dying person themselves. Their breathing may also become irregular, with long gaps between the breaths.