From the perspective of natural selection, the primary function of an organism is to consume food to produce offspring.