That thing on the end of an electrical cord is a plug, which goes into the socket of the wall outlet.