Birds lay an average of two to six eggs at a time compared to amphibians and fish, which lay hundreds of eggs. Explain the difference in the number of offspring produced.