The anther produces the pollen grains which on germination give rise to two male gametes. The male gametes on fusion with the egg and secondary nucleus produce the zygote and the endosperm respectively. The fertilization occurs only in the presence of male and female gametes.