1. First determine latitude and longitude data and X, Y column is correct,
2. ArcToolBox ---> DataManagement Tools ---> XY to line
3. Select the data, select the corresponding start and end points of latitude and longitude column name, select the coordinate system, and then click OK.