Understanding what consciousness is, and why and how it evolved, is perhaps the greatest mystery known to science.