The Luminance to scalar node calculates the luminance of the Input colour and then outputs the luminance as a scalar.