No question is silly, except the one that should but isn't asked.
Yes, yeasts are fungi. They can be though to resolve. Various ointment and medications are available. When used, they must be used well after the infection has been resolved. Otherwise it will return and the treatment may not work next time. If it is a body infection it is also important to clean items of clothing, bed clothing, etc.
In addition it is useful to remember that all living things have evolved to survive in specific environment. Knowing the environment that fungi need can help us in dealing with them.
The typical fungus prefers moist, warm, dark places. So by changing any of this improves the chances of clearing them up. For example athlete's foot is a fungal infection. You would keep your feet dry. If you were not likely to get your feet wet - you could wear sandals to let light in, reduce the moisture, and reduce the temperature. Similar principles, apply to fungal infections of the groin, arm pits etc.
Yeast and other fungi spread easily. So, if you have athlete's foot for example, put on your socks first. This means that your underwear will not carry the fungus from your feet to your groin.
Before the advent of modern treatments, thrush in groin, axillae, and vagina was treated using a vinegar douche. The mild dilution of vinegar changed the pH of the area and thereby inhibited the growth of the fungus.
The most important thing is keeping the area dry if at all possible