The short answer depends on the map
The lines on a map have names that depend on what they show. A map can have several kinds of lines at once, so the best way to name one is to look at its shape, spacing and labels. The main kinds are latitude lines, longitude lines, contour lines and grid lines.
Latitude lines: horizontal, labeled in degrees
Evenly spaced lines that run east to west, with labels in degrees north or south, are lines of latitude. The equator is 0 degrees, and the labels reach 90 degrees at each pole. These lines are also called parallels.
Longitude lines: vertical, meeting at the poles
Evenly spaced lines that run north to south, with labels in degrees east or west, are lines of longitude. They meet at the North and South Poles. The prime meridian at Greenwich is 0 degrees, and the labels run to 180 degrees in each direction.
Contour lines on topographic maps
Thin, curved lines on a topographic map are often contour lines. Each contour joins points of the same elevation. Contours never cross. Closely spaced contours mean the ground rises or falls steeply, and widely spaced contours mean the ground is flatter.
Maps usually list the contour interval in the legend. That is the vertical distance between one contour and the next. Some contour lines are drawn darker and labeled with a height. These are called index contours, and they make it easier to read the elevation of the land.
Grid lines on military maps
Straight lines that form a square grid, often with numbers printed in the margins or boxes, are grid lines. Military maps use these to pinpoint a place quickly. Grid lines are a separate system from latitude and longitude. They can look similar, but they are not labeled in degrees, and they may not align exactly with true north.
How to tell which lines you are looking at
Start with the map legend. It explains the symbols and the contour interval. Then check the labels. Degrees mean latitude or longitude. Heights mean contours. Numbers in squares mean a grid. The shape of the line also helps: curved and closed loops are often contours, while long straight lines are usually grid, latitude or longitude lines.
Summary
Lines on maps are named by what they show. Latitude lines run east to west and are labeled in degrees. Longitude lines run north to south. Contour lines show elevation on topographic maps, and grid lines help pinpoint places on military maps. The legend and labels are the fastest way to tell them apart.