I would think that they are held on to each of the boards by either solder or those plastic pins. looking at the photo I will assume that it is plastic. In my experience you can squeeze the pin on the other side so you can pull the thing out. Due to the quality of the photo I can't really tell what the things really are so I can't really suggest much else.