The amount of damages can be a very complicated question. In a typical situation the survivors may sue for the medical bills incurred for the care of the person who was injured and the funeral and burial costs.
However, the idea is that under wrongful death law, the parties are being compensated for the loss and the continuing absence of the person.
So oftentimes courts will factor in the predicted future of the person who passed away and asses damages that would likely include the sum that the person could have earned, how long that person would have lived, and the suffering all of the members have incurred as a result of having lost a loved one. due to the absence of the deceased person.