Below are field lines for a magnetic field that lie in the plane
of the picture, along with a very long ("infinite") straight wire.
Suppose the wire is held parallel to the plane of the picture, as
shown. (Assume it extends well past the edges of the figure.)
Magnetic Field Lines For A Wire