A pogo pin is used to make a connection between two PCBs .
It will be applied on a socket (in any package format; Eg. BGA. QFN...) to test the logic or memory IC.