The above are terminal blocks, also known as choc blocks and connector strip.
Please ensure you use the correct block for the job in hand.
They should be in some sort of enclosure - if you aren’t using one inside an electrical item, or a switch/socket back box etc, you should get a box for it.
Photos courtesy of TLC Direct