In most breech loading guns it is essential to stop the erosion of the metal of the vent by preventing the escape of gas through it when the gun is fired.
The vent-sealing tube accurately fits into a chamber formed at the end of the vent, and is held in place by the gun lock or some similar means.