1) When current passes through a wire, it produces a magnetic field that can be detected using a compass. The compass needle will deflect due to the magnetic field produced by the current-carrying wire.
2) The direction of the magnetic field produced around a current-carrying straight wire can be determined using the right-hand rule. Reversing the current reverses the direction of the magnetic field.
3) A current-carrying circular loop produces concentric circular magnetic field lines, with the field lines becoming straight and perpendicular to the plane of the coil at the center.