A dead body floats in water due to buoyancy principle - the weight of water displaced equals the weight of the body when decomposition gases accumulate, making it less dense than water. Body temperature being zero doesn't cause floating (ice floats due to crystal structure), and bodies don't lose weight after death.