It's hard to say with so little information, but could it be Netflix's The Dragon Prince?
The series is set in a fantasy world on the continent of Xadia, which is rich with magic derived from six primal elements: The Sun, the Moon, the Stars, the Earth, the Sky and the Ocean. However, the humans - who could not utilize primal magic - discovered the use of dark magic, which is fueled by the life essence of animals and magical creatures. As a consequence, they were driven off by the dragons and elves of Xadia to the other end of the continent, where they founded the five human kingdoms. The Breach, the border between the two halves of the continent, was guarded by Thunder, the king of dragons.
Now, after humans killed the dragon king and his egg, war is imminent. The elves attempt to assassinate the human king Harrow and his heir, the young prince Ezran, in retaliation for the egg's destruction. One among the elves, the young Rayla, along with Ezran and his older half-brother Callum, discovers that the dragon king's egg wasn't in fact destroyed, but stolen by the mage Viren, King Harrow's advisor. Together they undertake to return the egg to the dragons to prevent war between the humans and elves. But Viren, intent on conflict, seizes power after the king dies in the assassination attempt, and sends his children Claudia and Soren after the fugitives to kill the princes and recover the egg at all costs.
As per the wiki entry, the creatures of the world are inherently tied to the elements:
All magic in the world draws upon the six Primal Sources. These are enormous, powerful entities of the natural world: the Sun, the Moon, the Stars, the Earth, the Sky, and the Ocean. A mage can draw upon these Sources to cast different spells; for example, drawing from the Sky's Primal Magic allows a mage to cast wind and thunderstorm spells. The magical creatures of Xadia are all connected to a Primal Source, and as such, their powers and abilities reflect that source.2 Each magical creature in Xadia possesses a connection with their source, called an arcanum. This is described by Lujanne as "the secret of the Primal, or its meaning."