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.
To dzięki naturalnej ewolucji meduza świeci na zielono albo organizm wykrywa kod białka  atakującego go wirusa.