The Soldier fly’s eyes are dichoptic meaning they don’t meet at the medial dorsal line of the head. I understand this identifies the fly as a female. (Males have holoptic eyes which meet at the medial dorsal line, a feature that apparently helps them to detect and pursue females during in-flight courtship). I believe the intricate coloured patterns of this Soldier fly's eyes have functions including acting as optical filters (similar to sunglasses) and being sensitive to different light wavelengths, which helps with colour perception and object identification. This appears to be natural selection at work, enhancing the fly’s chance of survival and thereby reproduction.