What is this line on my dock?
This is a progress bar under Downloads folder. It sometimes doesn't go away after completing the downloads. One solution for this is to enter this command in Terminal: 

killall Dock


This will reset the Dock.