The white smoke produced is typically pure steam, which is ideal for a steam locomotive since the engine is not wasting any energy. Brown smoke typically arises from the smokestack when poor-quality fuel is used. These fuels may be low-grade coal or even wood.