What conclusion do you get from the observation that a current-carrying wire deflects a compass placed near it ?
This means that a current carrying wire produces a magnetic field around it.