Why a dead body rises up in water and a living person goes down water?

A dead body decomposes in water as the organs & cells absorb water.The decomposed body increases in volume weight to displace more water to float. A living body cannot displace water as the volume and tends to sink in water.