Concept:
A solenoid behaves like a bar magnet and produces magnetic field lines similar to those of a bar magnet.
Step 1: Recall the direction of magnetic field lines.
Magnetic field lines always form closed continuous loops.
• Outside a magnet or solenoid, field lines travel from North pole to South pole.
• Inside the magnet or solenoid, field lines travel from South pole to North pole.
Step 2: Apply this concept to a solenoid.
Inside the solenoid, magnetic field lines are straight, parallel, and directed from:
\[
\boxed{\text{South pole to North pole}}
\]
Step 3: Identify the correct option.
Hence, the correct answer is option (2).