Fungi play several important ecological roles. As decomposers, they break down dead organic matter and release nutrients back into the soil, recycling them for other organisms. As mycorrhizal partners with plants, fungi help plants absorb water and minerals in exchange for carbohydrates. Lichens, which consist of fungi and algae, are pioneers in plant succession and weather rocks into soil. Some fungi also help bioremediate polluted environments and produce antibiotics. However, some fungi can also cause diseases or destroy plants, wood, food, and other materials.