What are those white plastic thingies on the other end and what purpose do they serve?

The smaller ones are 9mm and the bigger ones 5.56