When homeless people die, what happens to their bodies?

I'm sure it varies by region.

Edit: for added texture I meant specifically the likely thousands that die out in the elements every day and potentially aren't found for weeks or months. I assume a whole investigation happens.