The threaded cap is screwed onto the muzzle of the threaded barrel. It serves to protect it and prevent its damage or pollution.