Quick component question

Or also, look up “opto-interrupter”.