Bearing spacers sit within the wheel on the trucks axle between the two bearings. This makes sure the inner races of the bearing are properly lined up. When these are aligned correctly, the balls and outer races also align. With the wheel rotating, this alignment is critical to avoid unwanted friction.
Sold as a set of 4.