What is true about the graph of a system of equations that has infinitely many solutions?

A. The lines will have the same slope but different y-intercepts
B. The lines will have the same slope and the same y-intercepts
C. The lines will have different slopes and different y-intercepts
D. The lines will have different slopes but the same y-intercept