To enable them to attract other organisms that will become pray. Or to be able to see in dark areas where there is no light.