A solenoid that is carrying current has magnetic field lines similar to a:
Bar magnet
A solenoid is a series of circular loops in the form of a helix, as shown in the figure above. The magnetic field lines around the solenoid are similar to the field lines around a bar magnet.