Why are there so many different species on Earth today?

There's been life on earth for over 3 billion years. That's a lot of time for organisms to evolve and adapt.