This example shows how to plot multiple lines using matplotlib in Python. First, we import matplotlib.pyplot as plt. Then we prepare data lists for x and two y sets. We call plt.plot() twice, once for each line, passing x and y data with labels. After plotting lines, we call plt.legend() to add a legend box that shows line labels. Finally, plt.show() opens the plot window displaying both lines and the legend. Variables x, y1, and y2 hold the data arrays. The plot state changes from empty to having one line, then two lines, then the legend. This step-by-step process helps beginners see how multiple lines are added and displayed on the same graph.