Answer: production of sex cells
Explanation: the main function of mitosis are cell development and growth, cell repair and replacement. Mitosis replaces old cells with new ones.
Production of sex cells or gametes is the primary function of meiosis.