A DC current sensor is a device used to measure the flow of direct current (DC) in an electrical circuit. It works by detecting the magnetic field generated by the current passing through a conductor. This magnetic field induces a voltage or current in a secondary winding, which is proportional to the primary current. The sensor then converts this induced voltage or current into a measurable signal that can be read by instruments or control systems.