The heart has its own nervous system with two types of nerves that do completely different jobs — one keeps the heart beating, while the other protects it during stressful moments. That is the discovery made by researchers at Yale University School of Medicine in New Haven, published in the journal Cell.

Scientists have known for years that the heart contains its own network of nerves, sometimes called its "little brain." But exactly what these nerves do has remained a mystery. To solve it, the Yale team genetically engineered adult mice so their heart nerves would glow, making them much easier to study.

The researchers found two distinct types of nerves. They called them Npy neurons and Ddah1 neurons. When the team traced their pathways across the heart using 3D imaging, they discovered something remarkable: each type connected to completely different areas and served a unique purpose.

The Npy neurons turned out to be essential for life. When the scientists stimulated these nerves, the heart slowed down. But when they destroyed these cells, heart function rapidly broke down and the mice died. "The ICNS is not merely modulatory but is essential for cardiac performance and survival," the researchers wrote.

The Ddah1 neurons, by contrast, seemed quiet under normal conditions. Neither stimulating nor removing them made any difference when mice were at rest. But during a physical-restraint stress test, these cells suddenly sprang into action. Without the Ddah1 nerves working, intense stress caused the heart to develop fatal electrical problems and sudden cardiac arrest. The researchers concluded that these nerves are essential for keeping the heart stable during extreme physical or emotional strain.

This discovery could change how doctors treat heart problems. The study authors noted that problems within this nerve network are linked to major human heart conditions, including atrial fibrillation, heart failure, and sudden cardiac death. Understanding how these distinct nerve types work may eventually lead to new treatments for some of these conditions.

The research was led by Qian J. Xu and colleagues at Yale University School of Medicine. The study appeared in Cell in 2026.