Roots of Celtic mythology come primarily from The Book of Invasions.
In Irish mythology, the country had six invasions. The first five were from beings from the heavens and underneath the Earth and existed in stories passed down by the Druids in 800-900 AD.
The last invasion was by the people who came from what is now Spain and Portugal.