The touchlines are the longer lines on the soccer pitch's rectangular shape. If the ball goes past one of the touchlines then play stops and the team that didn't touch it last is awarded a throw in. You will sometimes hear of a touchline ban given to coaches or players, meaning that they are not allowed on the pitch for a match, as most dugouts are on one touchline of a pitch.
The end lines, also known as bylines, run along the short end of the rectangular pitch. They run on both sides of the goal line. They also form part of the boundary lines of the soccer pitch. Together, the touchlines and end lines form the field of play.
There is a goal line on each end of the rectangular pitch. It's used to describe the line inside of the net and goal that is used to determine if a goal is scored. If the ball crosses the goal line into the net then a goal is awarded. These lines are also part of a soccer pitch's boundary lines. The ball must completely pass the goal line for a goal to count. A goal will not count if the ball is partially over the goal line