For many species, a male and female tree are needed to produce fruit.