You can find out more about refluxing below
If you heat a reaction mixture for a significant length of time, particularly in the case of something volatile, the solvent will evaporate and possibly leave the reaction mixture dry. As well as being wasteful of solvent, this has an additional problem in that this it can lead to highly flammable fumes being produced, which are an obvious hazard.
The solution to this is refluxing.
In brief, the vapours produced are condensed back into liquid and drop back into the reaction vessel.
This is most easily and commonly done using a normal Leibig condenser (as described under Distillation). The difference is that for reflux the condenser is fixed vertically on the flask so that any condensate simply drips back down into the flask. The set up is as shown in the diagram at the top of the page.
It may be that you still lose a small amount of vapour. If this is the case, the flask can be replenished by simply adding more solvent in from the top.