As atmospheric air cannot gain access to the coal in the retorts, the gases expelled do not inflame, nor can the parts that are not volatile be consumed without a supply of air. It is entirely a process of distillation, in which all the products can be collected. The volatile parts are carried off by the pipe, and the solid carbonaceous matter, or coke, is left in the retort.

The first effect of heat on coal, after it is put into the retort, is to expel the moisture, which, in combination with the air, issues in the form of steam. Tar then distils, with some portions of gas, consisting of hydrogen and ammonia. When the retort has attained a bright cherry-red heat, the disengagement of the carburretted hydrogen is most active; and it is found that the more quickly the coal is heated, the greater is the quantity of illuminating gas generated.

The production of coal gas, and the development of its properties at different stages of distillation, may be readily shown by means of a common tobacco pipe. Fill the bowl of the pipe with small pieces of coal, cover it over with a lump of clay, and then put it into a hot fire, with the stalk of the pipe projecting through the bars. Presently steam will be seen to issue from the pipe, and afterwards smoke, and, if a light be applied, a jet of flame will issue forth, the brilliancy of which will increase as the bowl of the pipe becomes more heated, until the best part of the gas has been distilled from the coal.

The gas is mingled with various volatile products as it issues from the retort, and requires to be purified before it is fitted for illumination. The most abundant matter that passes over with it is tar. The vapour of that substance, however, condenses when cooled, and it may thus be separated from the gas very effectually. For that purpose the gas, after having deposited a large portion of the tar in the hydraulic main, is made to traverse through a number of vertical pipes, and in passing through them a further quantity of tar, accompanied by ammoniacal liquor, is deposited, and collected in a reservoir at the bottom. The next process is the purification of the gas from carbonic acid and sulphuretted hydrogen. This is commonly done by passing it through water and lime; the combination of the carbonic acid with the lime being facilitated by agitation. The method of purifying by lime was introduced by Mr. Clegg; and by a later process, oxide of iron is used to absorb the sulphuretted hydrogen. The gas, when purified, is conveyed to the gas-holder, whence it is forced by pressure into the mains and pipes.

An apparatus for generating coal gas on a small scale for private establishments, remote from sources of ordinary supply, is represented in the accompanying woodcut. The retort, A, is fitted in a small furnace. The coal is put in at F, and the products of distillation pass through the bent pipe, E. The more liquid portions of the tar pass at once through the tube, B, into the receiver, G; and as the gas passes along the bent tube, C, it becomes cooled, and a further deposit of tar and ammoniacal liquor is made. The gas is then conveyed along another tube into the purifier, H, filled with lime and water, and it thence passes into the gas-holder. Tubes are inserted into the latter for conveying the gas to the burners.

The quantity and the quality of the gas yielded by coal differ materially according to the kind employed. One ton of good Newcastle coal will yield 9,500 cubic feet of gas, which, when burnt in the best manner, gives a light equal to that of 422 lbs. of spermaceti candles. One ton of Wigan cannel coal yields 10,000 cubic feet, and gives a light equal to 747 lbs. of spermaceti candles.[13] The price, in London, of good gas from Newcastle coal, is 4s. 6d. per thousand cubic feet, which gives a light equal to 74½ lbs. of spermaceti, and equal to 89 lbs. of mould candles; therefore, when the latter are 8d. a pound, the burning of gas is twelve times more economical than the burning of candles. In Liverpool, gas from cannel coal is supplied at the low price of 3s. 9d. per thousand feet; and that gas gives at least one-third more light than the ordinary London gas.

The cleanliness of gas, as compared with candles or oil, is a further recommendation; and for the purpose of lighting streets, shops, factories, public buildings, and halls, it presents important advantages; but it is not well adapted for small sitting rooms, because the heat of the flame makes it unpleasant and injurious to the eyes when near, and, unless very pure, it deteriorates the air of closed apartments. In many parts of the country, however, where coals are cheap, and the price of gas is consequently less than in London, it is introduced into every room of nearly all private houses.

The best kind of gas made from mineral substances is produced by the distillation of a bituminous shale, called Boghead coal, which was discovered a few years since in Scotland. One ton of this material yields 15,000 cubic feet of gas, which is equal in illuminating power to 1,930 lbs. of sperm candles. Boghead coal is now commonly used for mixing its gas with that of inferior quality, to bring up the illuminating power to the required standard.

Olefiant gas, made from oil, burns with a brighter and purer light than common coal gas, but it is more costly. It is made nearly in the same manner, by distillation in retorts; the principal difference consisting in the degree and regulation of the temperature. A dull red heat is the best, and in order to keep the oil exposed to the action of an invariable heat, it is admitted gradually into the retorts, into which pieces of brick or coke are inserted to increase the heating surface. One pound of common oil yields about 15 feet of olefiant gas. The same kind of gas may also be obtained in smaller quantities by the distillation of tar, rosin, or pitch. Twelve cubic feet of gas may be obtained from one pound of tar, and ten from the same weight of rosin.