Gofundme?

I know we are supposed to be charitable, but can someone explain to me why people ask for money when someone dies nowadays? Are the funds for funeral costs?? If so, what the heck were people doing before gofundme was founded? Were bodies just thrown somewhere in the street or....??? I'm not trying to be insensitive but I'm really curious. Btw funerals have always been expensive. This is nothing new. My question is what were they doing before gofundme? Do people not plan for death or what??