Cotton wool is used in the neck of the flask ... a gas syringe (or sometimes with an upside-down measuring cylinder) when the chemical reaction produces a gas, eg metal reacting with acid to ...