Yes there is, there is the cycle which trees and plant organisms produce oxygen, and homes animal organisms which can be beneficial to decomposition and other things.
Hope this helps, if not, comment below please!!!
It could be they want the answer that they could not adapt to the changing climate. they where wiped out just by an asteroid though