The short answer to what happens to your body when you die, is that you rot. From the moment you cease to be, your body begins decomposing. Hair and fingernails do not continue growing mind you, that is a myth. But the brain does continue to spark small electrical signals for quite some time after death. But all in all, you just cease to be, and go in the ground.