There are a few ways to join two lines in Illustrator. One way is to use the Line tool, which is located at the bottom of the screen. To join two lines, drag one line over the other line and release. The line will automatically connect. Another way to join two lines is to use the Selection tool, which is located at the top of the screen. To join two lines, select one line and press Command+S (Windows) or Option+S (Mac).