Why does mold cause disease?

it has also been found to cure to. depends but my mum had mold growing on dead patches of lung after she had pneumonia