Does natural selection explain the origin of the eyeball, or was it a mutation?

Would a mutation happen in a group of organisms at about the same time? Did DNA for an eyeball exist before any organism actually had an eyeball?
5 answers 5