That is the basis.
If you select Target to Gray in the Channel Mixer, you can then use sliders of the respective color channel to mimic analog color filters used in black and white photography.
Here is an example of red filter:
Blue in the image (sky) becomes darker, red becomes brighter.
Here is an example of blue filter:
Blue (sky) becomes lighter, green becomes darker.
Green filter:
Green is getting brighter.
If I now only want to influence only the brightness of the image without losing colors, I use lightness blend mode and the result is for example like this (red filter):
Here is the original for comparison:
You can also influence the color mood of the image by selecting one of the color channels as target and much more:
This is a very powerful tool and is not specific to darktable. Every better photo application has it, and if you want to know more, check out the countless tutorials and information on the internet.
Channel mixer is part of the basics of photo processing itself.