Question: why rgb to grayscale conversion?
Answer: Therefore, some algorithms can only applied on 2-D image rather than 3-D, hence we convert an RGB image into a grayscale image, for instance, Black and White conversion of an image, convolution of an image, etc.