There are two options for modular end caps; square, and rounded. The square ones are a set 8 of the linear end caps, originally from the Mandala Maker gear set. The rounded ones are from the Modular gear set.
The square ones are handy for use with the Linear Modular gear set. The rounded ones are for use with modular parts that you want to cap off and roll gears around.