What is a Bayer pattern?
As mentioned above it is required to record the 3 primary colors to obtain the full spectrum of colors. This pattern alternates a row of red and green filters with a row of blue and green filters. This results in a fact that 50% of the pixel of a sensor is green pixels while 25% are red respectively blue pixels. The reason of having more green pixels is the human eye that is not equally sensitive to all spectrums.