Mexican jumping beans (also known as in Spanish) are seed pods that have been inhabited by the larva of a small moth (Cydia saltitans) and are native to Mexico. The "bean" is usually tan to brown. They are from the shrub Sebastiania pavoniana, often also referred to as "jumping bean". However, they are not related to actual beans (legume plants), but rather to spurges. The beans are considered non-toxic but are not generally eaten. In the spring, when the shrub is flowering, moths lay their eggs on the shrub’s hanging seedpods. When the eggs hatch, tiny larvae bore into the immature green pods and begin to devour the seeds. The pods ripen, fall to the ground and separate into three smaller segments, and those segments are called Mexican jumping beans. As the tiny larvae inside curl up and uncurl, they hit the capsule’s wall with their heads – and the bean jumps. It’s been observed that they move more as temperatures rise, the larva eats away the inside of the bean (until it becomes hollow) and attaches itself to the inside of the bean with silk-like thread. Physicists at Seattle University theorize, using Brownian motion as a model, that the larvae's random walk helps to find shade to survive on hot days. Although it does not optimize for finding shade quickly, the strategy minimizes the chances of never finding shade when shade is sparse. The larva may live for months inside the bean with varying periods of dormancy. If the larva has adequate conditions of moisture and temperature, it will live long enough to go into a pupal stage. In the spring, the moth forces itself out of the bean through a round "trap door", leaving behind the pupal casing. After its metamorphosis, the small, silver and gray-colored moth lives for no more than a few days. As a novelty When the bean is warmed (by being held in the palm of the hand, for example) the larva will move to eat, pulling on the threads and causing the characteristic hop. Leaving the beans in a heated environment such as direct sunlight can kill the larva. The beans can be energetic and make quite sharp movements from the moth larva inside several times a minute when especially active. When shaken near one's ear, a slight rattle can be heard. When it makes a softer rattle, this typically means that the