They were evolved by nature in order to get a jellyfish to glow green for whatever reason, or in order to detect the coat protein of an invading virus, for example.
Evolucionaron en la naturaleza para que las medusas brillaran por la razón que sea o para detectar el código genético de un virus invasor, por ejemplo.