Black powder consists of iron compounds including magnetite (mill scale), iron sulphide, sand, clay, salt, weld slag and even iron. The powder is created during gas production, or in wet gas pipelines where hydrogen sulphide, carbon dioxide or oxygen are present in the gas, or by bacterial corrosion of the steel.