Body donations

I work in a nursing home and just had someone who does that donated their body to a company. Do they pay for cremation after having the body or how does it work?