A contour line defines the outer edges of a shape, while hatching lines are used to create shading and texture.