asexually and sexually
The majority of fungi can reproduce both asexually and sexually. This allows them to adjust to conditions in the environment. They can spread quickly through asexual reproduction when conditions are stable. They can increase their genetic variation through sexual reproduction when conditions are changing and variation may help them survive.