Mold is a type of fungus that decomposes organic matter, such as wood and drywall. It is essential for the ecosystem, but when it accumulates in a building, it can be hazardous to your health, and cause serious structural damage. Mold generates microscopic spores as part of its life cycle, which move through the air both indoors and outdoors.