Circuit to detect a black line

Hey, I need to build a circuit that needs to detect a black line. And I need some help, if someone could please tell me what components I should look into rather than already designed circuits that would be a huge help ! Thanks in advance.