An electric fence system consists of:
If the animal touches the wire, an electric circuit is closed, i.e. the electric current flows through the animal and the earth back to the unit. The animal consequently receives an unpleasant, though harmless, electric shock and retreats. An electric fence system of this kind is used successfully to pen animals in and also to keep other animals out.