A socket is an end point for communication between two systems. The socket tells a host's IP stack where to plug in a data stream so that it connects to the right application.
This term is commonly used in software engineering, programming, scripting, application design, testing, and development lifecycle work.