Step 1: Microsporangium:
The microsporangium (pollen sac) is found in the anther of the flower. It contains microspore mother cells that undergo meiosis to produce haploid microspores, which develop into pollen grains (the male gametophyte).
Step 2: Megasporangium:
The megasporangium is represented by the nucellus within the ovule. It contains a megaspore mother cell that undergoes meiosis to produce four megaspores, of which usually only one survives and develops into the embryo sac (the female gametophyte).
Final Answer:
Microsporangium (in the anther) produces pollen grains (male); megasporangium (the nucellus of the ovule) produces the embryo sac (female).