A socket input stream in Java reads data sent from a client to a server over a network. It is created using the InputStream class.