Why the human living body is drowning in the water but why dead body of the human is swimming on the surface of the water give the scientific reason?

There is oxygen in the body which is lighter than water thus the body rising up to the surface of the water