Electric fencing delivers a brief, low-voltage shock to any animal that touches the fence wire. This shock is unpleasant but not harmful to animals, and it is usually enough to deter them from touching the fence again.