Chemicals and fertilizers production