Mitosis might take place for tissue repair. If you get a cut, your cells will undergo mitosis to heal the wound. It might also happen for asexual reproduction for some single-celled organisms. Meiosis happens for the sole purpose of sexual reproduction.
The answer is sexual reproduction.
They do this in order to become more stable.
Hope this helps :).
Water, soil, sunlight, H20, and nutrients.