The inputs are glucose and oxygen and the outputs are water and carbon dioxide.
Natural selection allows nature to chose which species survives. Only the fittest get to pass on their genes. And by fittest i mean the ones that are better adapted to the environment.<span />