Here is what the above code is Doing:
1. We’re importing the socket module, which is necessary because we’re going to be creating a socket.
2. We’re creating a socket object.
3. We’re connecting to the target.
4. We’re sending some data.
5. We’re closing the connection.