When a child dies, the grief is overwhelming. But some families, in the midst of that tragedy, make a choice that could save thousands of other children's lives. They donate their child's organs for science.

That choice — made by 123 families — helped scientists at Vanderbilt Health in Nashville create the most detailed map ever of how the pancreas grows during childhood. The research, published in the journal Nature Communications, could one day help doctors prevent or even cure diabetes.

Type 1 diabetes, an autoimmune disease where the body attacks its own insulin-making cells, often begins in the first years of life. And diagnoses of both type 1 and type 2 diabetes in people under 20 have been rising in the United States since 2002. Diabetic ketoacidosis — a dangerous condition when the body lacks enough insulin — remains a leading cause of death in children at the time of diagnosis. This makes understanding the pancreas more urgent than ever.

The pancreas is a multitasking organ. While 98 percent of it helps digest food, tiny clusters of cells called islets of Langerhans keep blood sugar levels steady. Each islet acts like a miniature factory, housing hormone-producing cells, blood vessels, immune cells, and more. The human pancreas contains about 2 million of these cellular communities, and their inner workings change over time — and as diabetes develops.

The research team, co-led by Marcela Brissova, a research professor of medicine at Vanderbilt Health, examined pancreas tissue from 123 children who died without diabetes. Using powerful imaging tools and tracking over 30 biological markers, they mapped how the pancreas and its islets grow from birth through the first decade of life.

They made surprising discoveries. Pancreas weight at birth varied nearly fourfold between infants — a difference that could someday serve as an early warning sign for diabetes risk. Meanwhile, alpha cells, which produce the hormone glucagon, take much longer to fully mature, while beta cells, which make insulin, are ready to respond to metabolic signals much earlier. The rate of beta cell growth after birth also turned out to be much slower than scientists had believed, suggesting that an adult's insulin-producing capacity is largely set before and during early childhood.

Brissova reflected on the families' courage in allowing their children's organs to be used for research. "This study is dedicated to these donors — the children — and their loved ones, without whom this work would not be possible," she said. "Their courage in consenting to donation has allowed these short lives to have a profound impact."

The hope is that by understanding exactly how a healthy pancreas develops, scientists can figure out why it sometimes goes wrong — and how to fix it before diabetes takes hold.