Production, transportation, and use of oil can cause water pollution. Oil spills, for example, leave waterways and their surrounding shores uninhabitable for some time. Such spills often result in the loss of plant and animal life. Coal mining also contributes to water pollution. Coal contains pyrite, a sulfur compound; as water washes through mines, this compound forms a dilute acid, which is then washed into nearby rivers and streams.