A DC power jack works by passing electricity through its central barrel and using its external barrel as the ground, this set up ensures that you cannot accidentally touch the live part of the connector. The male plug is then pushed into a female jack which is held in place by friction. The live part of the plug is now connected to the central pin within the jack while the outer ground is connected to the inner part of the jack housing completing the circuit.