how do magnetic field lines show the strength of a magnetic field?
The strength of the field is proportional to the closeness of the lines. It is exactly proportional to the number of lines per unit area perpendicular to the lines (called the areal density). Magnetic field lines can never cross, meaning that the field is unique at any point in space.