Answer: It is called a Crookes Tube, and he used it to discover cathode rays, which were later determined to be electrons.
I would say courtship, we this is when an animal would be looking for a mate. They would want to make themselves different and bright colors could attract a possible mate for them. I hope this helps!