A hydrocarbon containing formation may be treated using an in situ thermal
process. A mixture of hydrocarbons, H.sub.2, and/or other formation fluids
may be produced from the formation. Heat may be applied to the formation
to raise a temperature of a portion of the formation to a synthesis gas
production temperature. A synthesis gas generating fluid may be introduced
into the portion. Synthesis gas may be produced from the formation.
Synthesis gas may be used as a feed stream in an ammonia synthesis
process. Ammonia may be used as a feed stream in a urea synthesis process.