interface component for screwing to make electric contact
You want a non-permanent connection? Spring Loaded Headers or Push Pin headers need to be pressed together to make a good connection, either with clips, clamps, screws, magnets, etc. (Apple magjacks use push pins held together by magnets, patented unfortunately.)



The benefit lies in that unlike mated headers like square headers or machine pins,  one board can have simple test points, vias, or otherwise plain unpopulated copper, while the other has the header. Lowers board cost.

Pogo Pins are an extreme version of them.



If you want a permanent connection, standard headers are cheaper, or even double ended press fit headers.