The airlock attaches to the top of the fermenter using a grommet to seal around the base.
It allows the fermentation gas to escape and prevents contamination getting into your brew.
See our instructional sheets in the Brewers Library for further details about airlocks.
Additional image shows fill line.