Sharks are not generally dangerous to dolphins. In fact, dolphins are generally safe from shark attacks.
Why
Different diets: Sharks and dolphins have very different diets.
Size and strength: Dolphins are typically larger and stronger than most sharks they encounter.
Speed and agility: Dolphins are extremely agile and fast, making them difficult targets.
Group behavior: Dolphins travel in pods, allowing them to protect each other and deter predators.
Echolocation: Dolphins use sonar to detect predators, including sharks, at a distance.
While it is possible for a shark to attack a dolphin, it is very rare. Documented cases of large sharks, such as great whites, attacking and killing dolphins—especially juveniles or sick individuals—are extremely rare and not indicative of a general predator-prey relationship.