It can also sense light. The antenna sends information to the brain of the butterfly, controlling its behavior.
VOA: special.2010.04.27
It contains a device that measures such things as temperature, motion and light intensity, and it sports a miniature antenna and a radio with a range of 10 to 50 meters.