By cataloging millions of galaxies, scientists hope to unlock the secrets of how the universe has evolved.