This is a transparent block which blocks light. When powered by redstone signal, it doesn't.
Light gates without signal
Light gates with signal