High moisture is a major conducive condition to termite attack, and nothing says "hey there's lots of moisture here" better than fungus. Mould is often seen growing in areas of persistent moisture. So it's not surprising that where here is mould, there are termites nearby. This is because the prevailing conditions required for both mould and termites are very similar. So if you see mould in your place, it might be time to get a termite inspection. It's also a good idea to do all you can to reduce the moisture (and mould!) in your home for health reasons.