M cones, or medium-wavelength cones, are one of the three types of cone cells found in the retina of the eye. They are responsible for detecting light in the medium-wavelength range, which corresponds to the green part of the visible spectrum. M cones play a crucial role in color vision and help in distinguishing between different shades of green.