Why do Lightning Bugs Light Up?

The main reason fireflies, or lightening bugs as some call them, light up, is to attract a mate. The means by which they do this has a scientific name called bioluminescence and is possible because of special cells they have in their abdomen.