{{Short description|External features of butterflies and moths}} {{Use dmy dates|date=April 2023}} {{Use British English|date=December 2018}}<!-- and serial comma --> {{good article}}

[[File:Pieris rapae head Richard Bartz.jpg|thumb|300px|alt=Closeup of butterfly head showing eyes, antenna, coiled proboscis, and palpi.|The head of a small white butterfly (''Pieris rapae''). Note the upward pointing labial palpi on both sides of the coiled proboscis.]]

thumb|300px|Comparison of moth and butterfly dorsal anatomy.

[[File:Ochlodes sylvanus MichaD.jpg|thumb|alt=A skipper butterfly perched on a leaf and holding its wings apart from each other seen from above.|Adult Essex skipper (''Thymelicus lineola'')]]

[[File:Sphingidaepupa.JPG|thumb|alt=A golden coloured pupa on a flat surface with fine details visible.|Pupa of a sphingid moth]]

[[File:Arctiidae caterpillar edit.jpg|thumb|alt=A flowering shoot with a hairy caterpillar climbing up.|upright|Caterpillar of the subfamily Arctiinae]]

[[File:Phalera bucephala - Mondvogel 03 (HS).JPG|thumb|alt=White moth eggs with black central spots seen clustered together on a leaf from above.|Eggs of the buff-tip (''Phalera bucephala''), a notodontid moth]]

The '''external morphology of Lepidoptera''' is the physiological structure of the bodies of insects belonging to the order Lepidoptera, also known as butterflies and moths. Lepidoptera are distinguished from other orders by the presence of scales on the external parts of the body and appendages, especially the wings. Butterflies and moths vary in size from microlepidoptera only a few millimetres long, to a wingspan of many inches such as the Atlas moth. Comprising over 160,000 described species, the Lepidoptera possess variations of the basic body structure which has evolved to gain advantages in adaptation and distribution.<ref name="Inventory">{{cite book |editor1=Z.-Q. Zhang |editor2=W. A. Shear |year=2007 |title=Linnaeus Tercentenary: Progress in Invertebrate Taxonomy |journal=Zootaxa |volume=1668 |isbn=978-0-12-690647-9 |url=http://www.lepidoptera.ee/images/lingid/Zootaxa1668p699.pdf |author1=Kristensen, Niels P. |author2=Scoble, M. J. |author3=Karsholt, Ole |pages=699–747 |quote=Chapter: "Lepidoptera phylogeny and systematics: the state of inventorying moth and butterfly diversity" |doi=10.11646/zootaxa.1668.1.30 |s2cid=4996165 |access-date=19 February 2011 |archive-date=15 May 2013 |archive-url=https://web.archive.org/web/20130515015416/http://www.lepidoptera.ee/images/lingid/Zootaxa1668p699.pdf |url-status=dead }}</ref>

Lepidopterans undergo complete metamorphosis, going through a four-stage life cycle: egg, larva or caterpillar, pupa or chrysalis, and imago (plural: ''imagines'') / adult. The larvae – caterpillars – have a toughened (sclerotised) head capsule, chewing mouthparts, and a soft body, that may have hair-like or other projections, three pairs of true legs, and up to five pairs of prolegs. Most caterpillars are herbivores, but a few are carnivores (some eat ants, aphids, or other caterpillars) or detritivores.<ref name="Dugdale">{{cite journal|last1=Dugdale |first1=J. S. |year=1996 |title=Natural history and identification of litter-feeding Lepidoptera larvae (Insecta) in beech forests, Orongorongo Valley, New Zealand, with especial reference to the diet of mice (''Mus musculus'') |journal=Journal of the Royal Society of New Zealand |volume=26 |issue=4 |pages=251–274 |url=http://www.royalsociety.org.nz/media/publications-journals-nzjr-1996-058.pdf |doi=10.1080/03014223.1996.9517513 |bibcode=1996JRSNZ..26..251D }}{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}</ref> Larvae are the feeding and growing stages and periodically undergo hormone-induced ecdysis, developing further with each instar, until they undergo the final larval–pupal moult. The larvae of many lepidopteran species will either make a spun casing of silk called a cocoon and pupate inside it, or will pupate in a cell under the ground. In many butterflies, the pupa is suspended from a cremaster and is called a ''chrysalis''.

The adult body has a hardened exoskeleton, except for the abdomen which is less sclerotised. The head is shaped like a capsule with appendages arising from it. Adult mouthparts include a prominent proboscis formed from maxillary galeae, and are adapted for sucking nectar. Some species do not feed as adults, and may have reduced mouthparts, while others have them modified for piercing and suck blood or fruit juices.<ref name="Scoble – mouthparts">{{cite book |title=The Lepidoptera: Form, Function and Diversity |last=Scoble |first=M. J. |year=1995|publisher=Oxford University Press |isbn=978-0-19-854952-9|chapter=Mouthparts|pages=6–19|chapter-url=https://books.google.com/books?id=gnpd_5iNTiwC}}</ref> Mandibles are absent in all except the Micropterigidae which have chewing mouthparts.<ref name="Borror, Triplehorn & Johnson (1989)">{{cite book |title=Introduction to the Study of Insects|last=Borror |first=Donald J. |edition=6, illustrated |author2=Triplehorn, Charles A. |author3=Johnson, Norman F. |year=1989|publisher=Saunders College Publications |isbn=978-0-03-025397-3 |url=https://books.google.com/books?id=lfPXAAAAMAAJ |access-date=16 November 2010}} (No preview.)</ref> Adult Lepidoptera have two immobile, multi-faceted compound eyes, and only two simple eyes or ocelli, which may be reduced.<ref name="Scoble-Sensation">Scoble (1995). Section "Sensation", (pp. 26–38).</ref> The three segments of the thorax are fused together. Antennae are prominent and besides the faculty of smell, also aid navigation, orientation, and balance during flight.<ref name="Hoskins web site">{{cite web| url = http://www.learnaboutbutterflies.com/Anatomy.htm| archive-url = https://web.archive.org/web/20071120011159/http://www.learnaboutbutterflies.com/Anatomy.htm| url-status = usurped| archive-date = 20 November 2007| work = Learn about butterflies| access-date = 15 November 2010| author = Hoskins, Adrian| title= Butterfly Anatomy Head (& other pages)}}</ref> In moths, males frequently have more feathery antennae than females, for detecting the female pheromones at a distance. There are two pairs of membranous wings which arise from the mesothoracic (middle) and metathoracic (third) segments; they are usually completely covered by minute scales. The two wings on each side act as one by virtue of wing-locking mechanisms. In some groups, the females are flightless and have reduced wings. The abdomen has ten segments connected with movable inter-segmental membranes. The last segments of the abdomen form the external genitalia. The genitalia are complex and provide the basis for family identification and species discrimination.<ref name="Resh & Carde">{{cite book |last1=Powell |first1=Jerry A.|editor2-last=Cardé |editor2-first=Ring T.|editor1-first=Vincent H. |editor1-last=Resh |title=Encyclopedia of Insects |chapter-url=https://books.google.com/books?id=Ip57QSMCRk4C&pg=PA631 |edition=2nd |year=2009 |publisher=Academic Press |isbn=978-0-12-374144-8 |pages=661–663|chapter=Lepidoptera}}</ref>

The wings, head parts of thorax, and abdomen of Lepidoptera are covered with minute scales, from which feature the order Lepidoptera derives its names, the word ''lepidos'' in Ancient Greek meaning "scale". Most scales are lamellar (blade like) and attached with a pedicel, while other forms may be hair like or specialised as secondary sexual characteristics. The lumen, or surface of the lamella, has a complex structure. It gives colour either due to the pigments contained within it or through its three-dimensional structure.<ref name="Scoble scale">Scoble (1995). Section "Scales", (pp. 63–66).</ref> Scales provide a number of functions, which include insulation, thermoregulation, and aiding flight, amongst others, the most important of which is the large diversity of vivid or indistinct patterns they provide which help the organism protect itself by camouflage, mimicry, and to seek mates.

== External morphology == [[File:Butterfly-description.svg|thumb|alt=Photograph of a butterfly perched and sipping from a flower with the parts of the body labelled|Parts of an adult butterfly: {{ nowrap |'''A''': Forewing;}} {{ nowrap |'''B''': Antenna;}} {{ nowrap |'''C''': Compound eye;}} {{ nowrap |'''D''': Proboscis;}} {{ nowrap |'''E''': Thorax;}} {{ nowrap |'''F''': Leg;}} {{ nowrap |'''G''': Abdomen;}} {{ nowrap |'''H''': Hindwing;}} {{ nowrap |'''I''': Tail}}]] In common with other members of the superorder Holometabola, Lepidoptera undergo complete metamorphosis, going through a four-stage life cycle: egg, larva / caterpillar, pupa / chrysalis, and imago (plural: ''imagines'') / adult.<ref name="Taxome">{{cite web |url=http://www.ucl.ac.uk/taxome/ |title=Details about the Lepidoptera and Butterfly Taxome Projects|author=Mallet, Jim |date=12 June 2007 |work=The Lepidoptera Taxome Project |publisher=University College London |access-date=14 November 2010}}</ref>

Lepidopterans range in size from a few millimetres in length, such as in the case of microlepidoptera, to a wingspan of many inches, such as the Atlas moth and the world's largest butterfly Queen Alexandra's birdwing.<ref name="Gillot">{{cite book |title=Entomology |last=Gillot |first=Cedric |edition=2nd|year=1995 |isbn=978-0-306-44967-3 |chapter-url=https://books.google.com/books?id=DrTKxvZq_IcC |chapter=Butterflies and moths|publisher=Springer }}</ref>{{rp|246}}

=== General body plan === The body of an adult butterfly or moth (the imago) has three distinct divisions, called tagmata, connected at constrictions; these tagmata are the head, thorax, and abdomen. Adult lepidopterans have four wings – a forewing and a hindwing on both the left and the right side of the thorax – and, like all insects, three pairs of legs.<ref name="Evans">{{cite book |title=Identification of Indian Butterflies|last=Evans |first=W. H. |author-link=W. H. Evans |year=1932 |edition=2nd |publisher=Bombay Natural History Society |location=Mumbai |chapter-url=https://archive.org/details/TheIdentificationOfIndianButterflies |chapter=Introduction |pages=1–35}}</ref>

The morphological characteristics which distinguish the order Lepidoptera from other insect orders are:<ref name="Gillot"/>{{rp|246}}

* ''Head'': The head has large compound eyes and, if mouthparts are present, they are almost always a drinking straw-like proboscis. * ''Scales'': Scales cover the external surface of the body and appendages. * ''Thorax'': The prothorax is usually reduced. * ''Wings'': Two pairs of wings are present in almost all taxa. The wings have very few cross veins. * ''Abdomen'': The posterior abdominal segments are extensively modified for reproduction. Cerci are absent. * ''Larva'': Lepidoptera larvae are known as caterpillars, and have a well-developed head and mandibles. They can have from zero to five pairs of prolegs, usually four. * ''Pupa'': The pupae in most species are adecticous (with no functional mandibles in the pupal state) and obtect (with appendages fused or glued to the body), while others are decticous (with functional mandibles present in the pupal state) and exarate (having the antennae, legs, and wings free).

=== Distinguishing taxonomic features === The chief characteristics used to classify lepidopteran species, genera, and families are:<ref>{{cite encyclopedia |url=http://www.britannica.com/EBchecked/topic/336811/lepidopteran |title=Lepidopteran |year=2011 |encyclopedia=Encyclopædia Britannica |access-date=12 February 2011}}</ref>

* the mouthparts * the shape and venation of the wings ** whether the wings are homoneurous (the venation of the forewings and hindwings alike) or heteroneurous (forewings and hindwings different) ** whether the wings are aculeate (more or less covered with specialized bristles called microsetae) or nonaculeate ** the type of wing coupling (jugate or frenate) * the anatomy of the reproductive organs * the structure of larva and position of primary setae * whether the pupa is exarate or obtect

The morphological characteristics of caterpillars and pupae used for classification are completely different from that of adults;<ref name="Heppner"/>{{rp|637}}<ref name="Mosher (1918)"/> different classification schemes are sometimes provided separately for classifying adults, larvae, and pupae.<ref name="Mosher (1918)"/><ref name="Handbuch"/>{{rp|28–40}} The characteristics of immature stages are increasingly used for taxonomic purposes as they provide insights into systematics and phylogenies of Lepidoptera that are not apparent from examination of adults.<ref name="Handbuch"/>{{rp|28}}

== Head == [[File:Lepidoptera head gfhampson.jpg|thumb|250px|alt=Line diagram of head of a lepidopteran insect seen from front and right side with labelling of parts and a legend.|Lepidoptera head illustration from G. F. Hampson's ''Moths of British India'' Vol. 1 (1892)]]

Like all animal heads, the head of a butterfly or moth contains the feeding organs and the major sense organs. The head typically consists of two antennae, two compound eyes, two palpi, and a proboscis.<ref name="Evans"/> Lepidoptera have ocelli which may or may not be visible. They also have sensory structures called ''chaetosemata'', the functions of which are largely unknown. The head is filled largely by the brain, the sucking pump, and its associated muscle bundles.<ref name="scoble_heads"/> Unlike the adults, the larvae have one-segmented mandibles.<ref name="scoble_heads">Scoble (1995). Section "The Adult Head – Feeding and Sensation", (pp. 4–22).</ref>

The head capsule is well sclerotised and has a number of ''sclerites'' or plates, separated by ''sutures''. The sclerites are difficult to distinguish from ''sulci'' (singular – ''sulcus'') which are secondary thickenings. The regions of the head have been divided into a number of areas which act as a topographical guide for description by lepidopterists but cannot be discriminated in terms of their development.<ref name="scoble_heads"/> The head is covered by hair-like or lamellar scales and found either as tufts on the ''frons'' or ''vertex'' (referred to as ''rough-scaled'') or pressed close to the head (referred to as ''smooth-scaled'').

The sensory organs and structures on the head show great variety, and the shape and form of these structures, as also their presence or absence, are important taxonomic indicators for classifying taxa into families.<ref name="Heppner">{{cite book |last1=Heppner |first1=J. B. |editor1-first=John L.|editor1-last=Capinera |title=Encyclopedia of Entomology |url=https://books.google.com/books?id=i9ITMiiohVQC|edition=2nd |series=Gale virtual reference library |volume=4 |year=2008 |publisher=Springer Reference |isbn=978-1-4020-6242-1 |page=4345|chapter=Butterflies and moths |chapter-url=https://books.google.com/books?id=i9ITMiiohVQC&pg=PA626}}</ref>

<div class="center"> <gallery> File:Insect SEM gracilariidae.jpg|Head of a moth of family Gracillariidae showing extent of scales on the head File:Rough-scaled_Lepidoptera_head.jpg|Rough-scaled head of moth ''Monopis icterogastra'' (family Tineidae)<!-- Inspired from diagram on page 6 of Scoble 'Lepidoptera – form, function...' where he had a diagram of head of ''Monopis pavlovski'' and that of ''Glyphipterix antdota'' to illustrate 'rough-scaled' and 'smooth-scaled' heads. --> File:Smooth-scaled_Lepidoptera_head.jpg|Smooth-scaled head of moth ''Glyphipterix simpliciella'' (family Glyphipterigidae) File:Smooth-scaled_Lepidoptera_head 2.jpg|Smooth-scaled head of moth ''Stegasta variana'' (family Gelechiidae) </gallery></div>

=== Antennae === {{Main|Antenna (biology)}}

{{multiple image | align = right | image1 = Caligula japonica male sjh.jpg | width1 = 160 | alt1 = Pinned specimen of male moth having feathery antennae | caption1 = | image2 = Caligula_japonica_female_sjh.jpg | width2 = 160 | alt2 = Pinned specimen of female moth showing filamentous antennae | caption2 = | footer = Sexual dimorphism in antennae in ''Caligula japonica'' family Saturniidae: feathery antennae of male (left) and linear form in female (right) }}

Antennae are prominent paired appendages that project forwards between the animal's eyes and consist of a number of segments. In the case of butterflies, their length varies from half the length of the forewing to three-quarters of the length of the forewing. The antennae of butterflies are either slender and knobbed at the tip and, in the case of the Hesperiidae, are hooked at the tip. In some butterfly genera such as ''Libythea'' and ''Taractrocera'' the knob is hollowed underneath.<ref name="Evans"/> Moth antennae are either ''filiform'' (thread like), ''unipectinate'' (comb like), ''bipectinate'' (feather like), hooked, clubbed, or thickened.<ref name="Heppner"/>{{rp|636}} ''Bombyx mandarina'' is an example with bipectinate antennae.<ref>{{Cite book|title=Encyclopedia of Entomology|last=Heppner|first=John B.|date=2008|publisher=Springer Netherlands|isbn=9781402062421|editor-last=Capinera|editor-first=John L.|pages=3375–3376|language=en|doi=10.1007/978-1-4020-6359-6_4198|chapter = Silkworm Moths (Lepidoptera: Bombycidae)}}</ref> Some moths have knobbed antennae akin to those of butterflies, such as the family Castniidae.<ref name="Moth Book">{{cite book |title=The Moth Book |last=Holland |first=W. J. |year=1903 |publisher=Hutchinson and Co. |location=London |chapter=Introduction|chapter-url=https://archive.org/details/mothbookpopularg00holluoft |chapter-format=PDF |isbn=978-0-665-75744-0}}</ref>

Antennae are the primary organs of olfaction (smell) in Lepidoptera. The antenna surface is covered with large numbers of olfactory scales, hairs, or pits; as many as 1,370,000 are found on the antennae of a monarch. Antennae are extremely sensitive; the feathered antennae of male moths from the Saturniidae, Lasiocampidae, and many other families are so sensitive that they can detect the pheromones of female moths from distances of up to {{convert|2|km|abbr=on}} away. Lepidoptera antennae can be angled in many positions. They help the insect in locating the scent and can be considered to act as a kind of "olfactory radar".<ref name="Hoskins web site"/> In moths, males frequently have antennae which are more feathery than those of the females, for detecting the female pheromones at a distance.<ref name="Resh & Carde"/> Since females do not need to detect the males, they have simpler antennae.<ref name="Hoskins web site"/> Antennae have also been found to play a role in the time-compensated sun compass orientation in migratory monarch butterflies.<ref name="Merlin et al (2009)">{{cite journal |last=Merlin |first=Christine |author2=Gegear, Robert J. |author3=Reppert, Steven M.|year=2009 |title=Antennal circadian clocks coordinate sun compass orientation in migratory Monarch butterflies |journal=Science |volume=325 |issue=5948 |pages=1700–1704 |doi=10.1126/science.1176221 |pmid=19779201 |pmc=2754321|bibcode=2009Sci...325.1700M }}</ref>

<gallery> File:Eriocrania_cicatricella_cropped.jpg|{{center|Filiform antennae – ''Eriocrania cicatricella'' (Eriocraniidae)}} File:Abantiades_barcas_cropped.jpg|{{center|Unipectinate antennae – ''Abantiades barcas'' (Hepialidae)}} File:Actias_artemis_cropped.jpg|{{center|Bipectinate antennae – ''Actias artemis'' (Saturniidae)}} File:Silver-spotted_Skipper%2C_Megan_McCarty58_cropped.jpg|{{center|Hooked antennae – ''Epargyreus clarus'' (Hesperiidae)}} File:Vanessa_February_2008-1.jpg|{{center|Clubbed antennae – ''Vanessa atalanta'' (Nymphalidae)}} File:Deleiphila_elpenor_003_cropped.JPG|{{center|Thickened antennae – ''Deleiphila elpenor'' (Sphingidae)}} File:CastniidaeMexico.JPG|{{center|Clubbed moth antennae – ''Athis inca'' (Castniidae)}} File:Nemophora_degeerella-01_(xndr).jpg|{{center|Longhorn moth<br/>(''Nemophora degeerella'' Adelidae) has antennae up to five times the length of its wings.}} </gallery>

=== Eyes === [[File:SEM image of a Peacock Head, front view.JPG|thumb|alt=Scanning electron micrograph in black and white of the compound eyes of a butterfly seen from front.|Front view of the compound eyes of ''Aglais io''.]]

[[File:Mythimna_unipuncta_male_head.jpg|thumb|alt=colour image of butterfly head|Ocellus of ''Mythimna unipuncta'' seen to the right of the base of the antenna, in close contact with the compound eye.]]

Lepidoptera has two large, immovable compound eyes, which consist of a large number of facets or lenses, each connected to a lens-like cylinder that is attached to a nerve leading to the brain.<ref name="Evans"/> Each eye may have up to 17,000 individual light receptors (ommatidia), which in combination provide a broad mosaic view of the surrounding area.<ref name="Hoskins web site"/> One tropical Asian family, the Amphitheridae, has compound eyes divided into two distinct segments.<ref name="Heppner"/><ref>{{cite journal |last1=Robinson |first1=G.S. |year=1988 |title=A phylogeny for the Tineoidea (Lepidoptera) |journal=Insect Systematics & Evolution |publisher=Brill |volume=19 |issue=2 |pages=117–129 |doi=10.1163/187631289x00113}}. "...in many Amphitheridae (s.l.), the compound eye of males is partially or completely divided horizontally. "</ref> The eyes are usually smooth but may be covered by minute hairs. The eyes of butterflies are usually brown, golden brown, or even red as in the case of some species of skippers.<ref name="Evans"/>

While most insects have three simple eyes, or ocelli, only two ocelli are present in all species of Lepidoptera, except a few moths, one on each side of the head near the edge of the compound eye. On some species, sense organs called chaetosemata are found near the ocelli.<ref name="Evans"/><ref name="Triplehorn & Johnson (2005)">{{cite book |title=Borror and Delong's Introduction to the Study of Insects |last=Triplehorn |first=Charles A. |author2=Johnson, Norman F. |year=2005 |publisher=Thomson Brooks/Cole |location=Belmont, California |isbn=978-0-03-096835-8 }}</ref> The ocelli are not homologous to the simple eyes of caterpillars which are differently named as stemmata.<ref name="Scoble-Sensation"/> The ocelli of Lepidoptera are reduced externally in some families; where present, they are unfocussed, unlike stemmata of larvae which are fully focussed. The utility of ocelli is not understood at present.<ref name="Scoble-Sensation"/>

Butterflies and moths can see ultraviolet (UV) light and wing colors and patterns are principally observed by Lepidoptera in these wavelengths of light.<ref name="Heppner"/> The patterns seen on their wing under UV light differ considerably from those seen in normal light. The UV patterns act as visual cues that help differentiate between species for mating. Studies have been carried out on Lepidoptera (mostly butterflies) wing patterns illuminated by UV light.<ref name="Heppner"/>

=== Palpi === [[File:Gastropacha populifolia02.jpg|thumb|alt=A brown moth with prominent snout on a white horizontal surface.|''Gastropacha populifolia'' (family Lasiocampidae) with modified mouthparts]]

Typically, the labial palpi are prominent, three-segmented, springing from under the head and curving up in front of the face.<ref name="Resh & Carde"/> There is great variation in morphology of labial palpi in different families of Lepidoptera; sometimes the palpi are separate and sometimes they are ''connivent'' and form a beak, but they are always independently movable. In other cases, the labial palpi may not be erect but ''porrect'' (projecting forward horizontally).<ref name="Evans"/><ref name="Heppner"/> Palpi consist of a short basal segment, a comparatively long central segment, and a narrow terminal portion. The first two segments are densely scaled and may be hirsute; the terminal segment is bare. The terminal segment may be blunt or pointed; it may project straight or at an angle from the second segment inside which it may be concealed.<ref name="Evans"/>

=== Mouthparts === thumb|right|Butterfly proboscis, showing the structure of the two galeae that comprise it.

[[File:Section of Lepidoptera mouthparts.svg|thumb|alt=A coloured graphic showing a horizontal cross-section of Lepidoptera mouthparts with body parts labelled|'''Legend''': Section of mouthparts of Lepidoptera. a: pilifer (labrum); b: epipharynx (labrum); c: galea (maxilla); d: trachea; e: nerve; f: muscles; g: food canal; h: labium; i: labial palp]] While mandibles or jaws (chewing mouthparts) are only present in the caterpillar stage, the mouthparts of most adult Lepidoptera mainly consist of the sucking kind; this part is known as the proboscis or ''haustellum''. A few Lepidoptera species have reduced mouthparts and do not feed in the adult state. Others, such as the basal family Micropterigidae, have chewing mouthparts.<ref name="Triplehorn & Johnson (2005)"/>

The proboscis (plural – proboscises) is formed from maxillary galeae and is adapted for sucking nectar.<ref name="Scoble – mouthparts"/> It consists of two tubes held together by hooks and separable for cleaning. Each tube is inwardly concave, thus forming a central tube up which moisture is sucked. Suction is effected through the contraction and expansion of a sac in the head.<ref name="Evans"/> The proboscis is coiled under the head when the insect rests and extended only when feeding.<ref name="scoble_heads"/> The maxillary palpi are reduced and even vestigial. They are conspicuous; five are segmented in some of the more basal families and are often folded.<ref name="Resh & Carde"/>

The shape and dimensions of the proboscis have evolved to give different species a wider and, therefore, more advantageous diet.<ref name="Scoble – mouthparts"/> There is an allometric scaling relationship between body mass of Lepidoptera and length of proboscis<ref name="Agosta & Janzen (2004)">{{cite journal |last1=Agosta |first1=Salvatore J. |last2=Janzen |first2=Daniel H. |year=2004 |title=Body size distributions of large Costa Rican dry forest moths and the underlying relationship between plant and pollinator morphology |journal=Oikos |volume=108 |issue=1 |pages=183–193 |doi=10.1111/j.0030-1299.2005.13504.x}}</ref> from which an interesting adaptive departure is the unusually long-tongued sphinx moth ''Xanthopan morganii praedicta''. Charles Darwin predicted the existence and proboscis length of this moth before its discovery based on his knowledge of the long-spurred Madagascan star orchid ''Angraecum sesquipedale''.<ref>{{cite journal |last1=Kunte |first1=Krushnamegh |year=2007 |title=Allometry and functional constraints on probosci's lengths in butterflies |journal=Functional Ecology |volume=21 |issue= 5|pages=982–987 |doi=10.1111/j.1365-2435.2007.01299.x|doi-access=free |bibcode=2007FuEco..21..982K }}</ref>

There are primarily two feeding guilds in Lepidoptera – the nectarivorous who obtain the majority of their nutritional requirements from floral nectar and those of the frugivorous guild who feed primarily on juices of rotting fruit or fermenting tree sap. There are substantial differences between the morphology of the proboscises of both feeding guilds. Hawkmoths (family Sphingidae) have elongated proboscises, which enable them to feed on and pollinate flowers with long tubular corollas. Besides this, some taxa (especially noctuid moths) have evolved different proboscis morphologies. Certain noctuid species have developed piercing mouthparts; the proboscis has sclerotized scales on the tip with which to pierce and suck blood or fruit juices. Proboscises in some ''Heliconius'' species have evolved to consume solids such as pollen.<ref name="Krenn & Penz (1998)">{{cite journal |last1=Krenn |first1=H. W. |last2=Penz |first2=C. M. |title=Mouthparts of ''Heliconius'' butterflies (Lepidoptera: Nymphalidae): a search for anatomical adaptations to pollen-feeding behavior |journal=International Journal of Insect Morphology and Embryology |volume=27 |issue=4 |pages=301–309 |doi=10.1016/S0020-7322(98)00022-1 |date=1 October 1998}}</ref> Some other moths, mostly noctuids, have modified proboscises to suit their mode of nutrition – lachryphagy (feeding on tears of sleeping birds). The proboscises often have sharp apices and a host of barbs and spurs on the stem.<ref name="Mackenzie2006">{{cite web |url=https://www.newscientist.com/article/dn10826-moths-drink-the-tears-of-sleeping-birds.html |title=Moths drink the tears of sleeping birds |author=Mackenzie, Debora |date=20 December 2006 |work=New Scientist |publisher=Reed Business Information |access-date=10 February 2012}}</ref><ref name="Hilgartner_et_al_2007">{{cite journal |last1=Hilgartner |first1=Roland |last2=Raoilison |first2=Mamisolo |last3=Büttiker|first3=Willhelm|last4=Lees|first4=David C.|last5=Krenn|first5=Harald W.|date=22 April 2007 |title=Malagasy birds as hosts for eye-frequenting moths |journal=Biology Letters |volume=3 |issue=2 |pages=117–120 |doi=10.1098/rsbl.2006.0581 |pmid=17251126 |pmc=2375961}}</ref>

<gallery> File:Butterfly tongue.jpg|Scanning electron micrograph of the proboscis of a moth from family Pyralidae File:Siproeta stelenes (Green Malachite) sucking a banana.JPG|A nymphalid butterfly sucking on a banana File:Heliconius sara-01 (xndr).jpg|Sara longwing (''Heliconius sara''), one of many ''Heliconius'' species known to feed on pollen, with pollen on its proboscis File:NHM_Xanthopan_morgani.jpg|''Xanthopan morganii'', an African sphingid, has a foot-long proboscis adapted for feeding from the orchid ''Angraecum sesquipedale'' File:A_butterfly_feeding_on_the_tears_of_a_turtle_in_Ecuador.jpg|Lachryphagous Lepidoptera, such as the two Julia butterflies (''Dryas iulia'') drinking the tears of turtles in Ecuador, have hooks and barbs at the tip of the proboscis </gallery>

== Thorax == thumb|upright|The forelegs are reduced in the Nymphalidae

thumb|upright|Diagram of an insect leg

The thorax, which develops from segments 2, 3, and 4 of the larva, consists of three invisibly divided segments, namely prothorax, metathorax, and mesothorax.<ref name="Evans"/> The organs of insect locomotion – the legs and wings – are borne on the thorax. The forelegs spring from the prothorax, the forewings and middle pair of legs are borne on the mesothorax, and the hindwings and hindlegs arise from the metathorax. In some cases, the wings are vestigial.<ref name="Evans"/><ref name="Scoble_thorax">Scoble (1995) Chapter 3: "The adult thorax – a study in function & effect" (pp. 39–40).</ref>

The upper and lower parts of the thorax (terga and sterna respectively) are composed of segmental and intrasegmental sclerites which display secondary sclerotisation and considerable modification in the Lepidoptera. The prothorax is the simplest and smallest of the three segments while the mesothorax is the most developed.<ref name="Scoble_thorax"/>

Between the head and thorax is the membranous neck or {{anchor|cervix}}''cervix''. It comprises a pair of lateral cervical sclerites and is composed of both cephalic and thoracic elements.<ref name="Gillot"/>{{rp|71}}<ref name="Scoble_thorax"/> Between the head and the thorax is a tufted scale called the pronotum. On either side is a shield-like scale called a scapula.<ref name="Evans"/> In the Noctuoidea, the metathorax is modified with a pair of tympanal organs.<ref name="Resh & Carde"/>

=== Leg === Forelegs in the Papilionoidea exhibit reduction of various forms: the butterfly family Nymphalidae, or brush-footed butterflies as they are commonly known, have only the rear two pairs of legs fully functional with the forward pair strongly reduced and not capable of walking or perching. In the Lycaenidae, the tarsus is unsegmented, as the tarsomeres are fused, and, tarsal claws are absent. The aroliar pad (a pad projecting between the tarsal claws of some insects) and pulvilli (singular: pulvillus, a pad or lobe beneath each tarsal claw) are reduced or absent in the Papilionidae. The tarsal claws are also absent in the Riodinidae.<ref name="Scoble & Aiello (1990)">{{cite journal |last1=Scoble |first1=M. J. |last2=Aiello |first2=Annette |year=1990 |title=Moth-like butterflies (Hedylidae: Lepidoptera): a summary, with comments on the egg |journal=Journal of Natural History |volume=24 |issue=1 |pages=159–164 |doi=10.1080/00222939000770101 |bibcode=1990JNatH..24..159S |url=http://stri.si.edu/publications/PDFs/Aiello_Scoble%20&%20Aiello%20.pdf }}{{Dead link|date=December 2019 |bot=InternetArchiveBot |fix-attempted=yes }}</ref>

In Lepidoptera, the three pairs of legs are covered with scales.<ref name="Heppner"/> Lepidoptera also have olfactory organs on their feet which aid in "tasting" or "smelling" food plants.<ref name="Hoskins web site"/>

=== Wings === <!-- The redirect Lepidoptera wings targets this section. If renaming the section, please retarget --> {{Main|Insect wing}}

{{Entomology glossary hatnote}}

Adult Lepidoptera have two pairs of membranous wings covered, usually completely, by minute scales. A wing consists of an upper and lower membrane which are connected by minute fibres and strengthened by a system of thickened hollow ribs, popularly but incorrectly referred to as "veins", as they may also contain tracheae, nerve fibres, and blood vessels.<ref name="Evans"/><ref name="Chapman_Thorax">{{cite book |title=The Insects: Structure and Function |last=Chapman |first=R. F. |edition=4th |year=1998 |publisher=Cambridge University Press |isbn=978-0-521-57890-5 |chapter=Thorax |page=[https://archive.org/details/insectsstructure0000chap/page/45 45] |chapter-url=https://books.google.com/books?id=vOkIvV0MrvYC |url=https://archive.org/details/insectsstructure0000chap/page/45 }}.</ref> The membranes are covered with minute scales which have jagged ends or hairs and are attached by hooks. The wings are moved by the rapid muscular contraction and expansion of the thorax.<ref name="Evans"/>

The wings arise from the meso- and meta-thoracic segments and are similar in size in the basal groups. In more derived groups, the meso-thoracic wings are larger with more powerful musculature at their bases and more rigid vein structures on the costal edge.<ref name="Resh & Carde"/>

Besides providing the primary function of flight, wings also have secondary functions of self-defence, camouflage and thermoregulation.<ref name="Scoble – mouthparts"/><ref name="KrishnaNie2020">{{cite journal|last1=Krishna|first1=Anirudh|last2=Nie|first2=Xiao|last3=Warren|first3=Andrew D.|last4=Llorente-Bousquets|first4=Jorge E.|last5=Briscoe|first5=Adriana D.|last6=Lee|first6=Jaeho|title=Infrared optical and thermal properties of microstructures in butterfly wings|journal=Proceedings of the National Academy of Sciences of the United States of America|volume=117|issue=3|year=2020|pages=1566–1572|issn=0027-8424|doi=10.1073/pnas.1906356117|pmid=31919285|pmc=6983360|bibcode=2020PNAS..117.1566K |doi-access=free}}</ref> In some Lepidoptera families such as the Psychidae and Lymantriidae, the wings are reduced or even absent (often in the female but not the male).<ref name="Resh & Carde"/>

==== Shape ==== The shape of wings exhibits great variety in Lepidoptera. In the case of the Papilionoidea, the costa may be straight or highly arched. It is sometimes concave on the hindwing. It is occasionally serrate or minutely saw toothed on the forewing. The apex may be rounded, pointed, or falcate (produced and concave below). The termen tends to be straight or concave on the forewing while it is usually more or less convex on the hindwing. The termen is often crenulate or dentate, i.e. produced at each vein and concave in between them. The dorsum is normally straight but may be concave.<ref name="Evans"/>

The hindwing is frequently caudate, i.e. the veins near the end of the tornus have one or more tails. The tornus itself being often produced and frequently lobed.<ref name="Evans"/> Along the hindwing termen there are tightly packed scales in a double row. The underside of the scales project and form a regular narrow fringe referred to as cilia.<ref name="Evans"/>

<gallery> File:Pterophorus pentadactyla MHNT.jpg|The plume moths (family Pterophoridae) have split wings File:Alucita hexadactyla01.jpg|In the many-plumed moths (family Alucitidae), wings are split along each vein File:Palumbina_guerinii.jpg|Microlepidoptera of the Gelechioidea, such as ''Palumbina guerinii'', have hair-like fringes along the hindwings File:Chrysiridia_Madagascarensis2(Better_Crop).JPG|Tailed hindwings of Madagascan sunset moth (''Chrysiridia rhipheus'' family Uraniidae) File:Monkey_Puzzle_Rathinda_amor_by_kadavoor_edit_by_b%C3%B6hringer.jpg|Lycaenids, such as the monkey puzzle (''Rathinda amor'') have filamentous tails, which are attempted to be explained by the "false-head" hypothesis<ref>{{cite journal | last1 = Robbins | first1 = Robert K | year = 1981 | title = The "False Head" Hypothesis: Predation and Wing Pattern Variation of Lycaenid Butterflies | journal = American Naturalist | volume = 118 | issue = 5| pages = 770–775 | doi=10.1086/283868| bibcode = 1981ANat..118..770R | s2cid = 34146954 }}</ref> File:Hemaris_diffinis_P1020035a.jpg|Hyaline patches on the wings of a hummingbird hawk-moth, the snowberry clearwing (''Hemaris diffinis'') File:Pachyerannis obliquaria1.jpg|''Pachyerannis obliquaria'', mating pair – winged male above, small wingless female below </gallery> <!--

* hindwings greatly reduced or narrowed – Himantopteridae, Copiopteryx (Saturniidae) * wide – Ornithoptera * atrophied - Ctenuchinae (Arctiidae) Syntomeida_Epilais_NC.jpg FREE IMAGE REQUIRED * average shape – Noctuidae * tailed hindwings – Papilionidae, Lycaenidae * pointed wings – Zygaenidae * split wings - plume moths (Pterophoridae) Pterophorus_pentadactyla_01.jpg * multi-split wings - many-plumed moths (Alucitidae) 40364-Alucita-hexadactyla-most-alike.jpg * hair-like fringes along wings (Gelechioidea) * wing held flat * wing held upright * wing on backs/trailing

-->

==== Venation ==== [[File:Butterfly wing terms.svg|right|thumb|Terms associated with the wings. For detailed explanation, refer Glossary of entomology terms.]] [[File:Moth September 2008-3 cropped.jpg|thumb|An adult male pine processionary moth (''Thaumetopoea pityocampa''). Notice the bristle springing from the underside of the hindwing (frenulum) and running forward to be held in a small catch of the forewing, the function of which is to link the wings together.]] Tubular veins run through the two-layered membranous wing. Veins are connected to the haemocoel and in theory allow haemolymph to flow through them. In addition, a nerve and trachea may pass through the veins.<ref name="Chapman_Thorax"/>

Lepidopteran venation is simple in that there are few crossbars.<ref name="Handbuch"/>{{rp|88}} The wing venation in Lepidoptera is a diagnostic for distinguishing between the taxa as also the genera and families.<ref name="Heppner"/> The terminology is based on the Comstock-Needham system which gives the morphological description of insect wing venation.<ref name="Scoble_wing">Scoble (1995). Section "Wings". Pg 55.</ref> In the basal Lepidoptera, the venation of the forewing is similar to that of the hindwing; a condition referred to as "homoneurous". The Micropterigidae (Zeugloptera) have venation that resembles the most primitive caddisflies (Trichoptera). All other Lepidoptera, the vast majority (around 98%), are "heteroneurous", the venation of the hindwing differing from that from the forewing and being sometimes reduced. Moths of the families Nepticulidae, Opostegidae, Gracillariidae, Tischeriidae, and Bucculatricidae, amongst others, often have greatly reduced venation in both wings.<ref name="Heppner"/>{{rp|635}}<ref name="Scoble_wing"/>{{rp|56}} Homoneurous moths tend to have the "jugum" form of wing coupling as opposed to the "frenulum–retinaculum" arrangement in the case of more advanced families. <gallery> File:Comstock-needham.svg|Insect wing venation, showing the names after the Comstock–Needham system File:Sabatinca_lucilia.jpg|Homoneurous venation in ''Sabatinca lucilia'' (Micropterigidae) (MHNT) Gonepteryx rhamni - Préserville France - male dorsal.jpg|Heteroneurous venation in ''Gonepteryx rhamni'' (Pieridae) File:Synanthedon_tipuliformis_%28ento-csiro-au%29.jpg|Reduced venation in ''Synanthedon tipuliformis'' (Sesiidae) </gallery>

==== Wing coupling ==== [[File:Lepidoptera Psychidae Oiketicus freno o frenulo.jpg|thumb|upright|''Oiketicus'' spp. (family Psychidae). The frenulum can be seen at the top of the rear wing, which hooks onto the retinaculum so that the wings travel together during flight. Magnification: 10x]]

{{main|Wing coupling}}

The Lepidoptera have developed a wide variety of morphological wing-coupling mechanisms in the imago which render these taxa "functionally dipterous" (two winged).<ref name="Dudley (2002)">{{cite book |title=The Biomechanics of Insect Flight: Form, Function, Evolution |last=Dudley |first=Robert |year=2002 |publisher=Princeton University Press |isbn=978-0-691-09491-5}}</ref> All but the most basal forms exhibit this wing coupling.<ref name="Stocks">{{cite book |last1=Stocks |first1=Ian |editor1-first=John L.|editor1-last=Capinera |title=Encyclopedia of Entomology |chapter-url=https://books.google.com/books?id=i9ITMiiohVQC |edition=2nd |series=Gale virtual reference library |volume=4 |year=2008 |publisher=Springer Reference |isbn=978-1-4020-6242-1 |page=4266 |chapter=Wing coupling}}</ref> There are three different types of mechanisms – jugal, frenulo–retinacular, and amplexiform.<ref name="scoble_coupling">Scoble (1995). Section "Wing coupling", (pp. 56–60).</ref>

The more primitive groups have an enlarged lobe-like area near the basal posterior margin (i.e. at the base of the forewing) called a ''jugum'', that folds under the hindwing during flight.<ref name="Resh & Carde"/><ref name="Stocks"/> Other groups have a frenulum on the hindwing that hooks under a retinaculum on the forewing.<ref name="Resh & Carde"/>

In all butterflies (with the exception of male Euschemoninae) and in Bombycoidea moths (with the exception of the Sphingidae), there is no arrangement of frenulum and retinaculum to couple the wings. Instead, an enlarged humeral area of the hindwing is broadly overlapped by the forewing. Despite the absence of a specific mechanical connection, the wings overlap and operate in phase. The power stroke of the forewing pushes down the hindwing in unison. This type of coupling is a variation of frenate type but where the frenulum and retinaculum are completely lost.<ref name="Dudley (2002)"/><ref name="Gorb (2001)">{{cite book |title=Attachment Devices of Insect Cuticle |last=Gorb |first=Stanislav |chapter=Inter-locking of body parts |year=2001 |publisher=Springer |isbn=978-0-7923-7153-3 |page=305 |chapter-url=https://books.google.com/books?id=aiSOCbk3LRsC}}</ref>

== Scales == thumb|right|200px|Wing scales form the colour and pattern on wings. The scales shown here are lamellar. The pedicel can be seen attached to a few loose scales.

The wings of Lepidoptera are minutely scaled, which gives the name to this order; the name ''Lepidoptera'' was coined in 1735 by Carl Linnaeus for the group of "insects with four scaly wings". It is derived from Ancient Greek ''lepis'' (λεπίς) meaning "(fish) scale" (and related to ''lepein'' "to peel") and ''pteron'' (πτερόν) meaning "wing".<ref name ="Etymology of 'lepidoptera'.">{{cite web |url=http://www.etymonline.com/index.php?term=lepidoptera |title=Lepidoptera |author=Harper, Douglas|work=The Online Etymology Dictionary |access-date=21 November 2010}} from "[http://dictionary.reference.com/browse/Lepidoptera Lepidoptera]" on Dictionary.com website.</ref>

Scales also cover the head, parts of the thorax and abdomen as well as parts of the genitalia. The morphology of scales has been studied by J. C. Downey and A. C. Allyn (1975)<ref>{{cite journal |last1=Downey |first1=J.C. |last2=Allyn |first2=A.C. |year=1975 |title=Wing-scale morphology and nomenclature |journal=Bull. Allyn Mus. |volume=31 |pages=1–32 }}</ref> and scales have been classified into three groups, namely hair-like, or ''piliform'', blade-like, or ''lamellar'' and other variable forms.<ref name="Scoble scale"/>

Primitive moths (non-Glossata and Eriocranidae) have "solid" scales which are imperforate, i.e., they lack a lumen.<ref name="Scoble scale"/>

A few taxa of the Trichoptera (caddisflies), which are the sister group to the Lepidoptera, have hair-like scales, but always on the wings and never on the body or other parts of the insect.<ref name="Heppner"/> Caddisflies also possess caudal cerci on the abdomen, a feature absent in the Lepidoptera.<ref name="Resh & Carde"/> According to Scoble (2005),<ref name="Scoble scale"/> "morphologically, scales are macrotrichia, and thus homologous with the large hairs (and scales) that cover the wings of Trichoptera (caddisflies)".

=== Structure === Although there is great diversity in scale form, they all share a similar structure. Scales, like other macrochaetes, arise from special trichogenic (hair-producing) cells and have a socket which is enclosed in a special "tormogen" cell;<ref name="Handbuch">{{cite book |title=Lepidoptera, Moths and Butterflies: Morphology, Physiology and Development, Volume 2 |last=Kristensen |first=Niels P. |series=Volume 4, Part 36 of Handbuch der Zoologie |year=2003 |publisher=Walter de Gruyter |isbn=978-3-11-016210-3 |url=https://books.google.com/books?id=5w8FgSGuH34C}}</ref>{{rp|9}} this arrangement provides a stalk or ''pedicel'' by which scales are attached to the substrate. Scales may be piliform (hairlike) or flattened. The body or "blade" of a typical flattened scale consists of an upper and lower lamella with an air space in between. The surface towards the body is smooth and known as the ''inferior'' lamella. The upper surface, or ''superior'' lamella, has transverse and longitudinal ridges and ribs. The lamellae are held apart by struts called ''trabaculae'' and contain pigments which give colour. The scales cling somewhat loosely to the wing and come off easily without harming the butterfly.<ref name="Scoble scale"/><ref name="Heppner"/><ref>Chapman (1988). Section "Wings and flight" (p. 190).</ref>

=== Colour === The scales on butterfly wings are pigmented with melanins that can produce the colours black and brown. The white colour in the butterfly family Pieridae is a derivative of uric acid, an excretory product.<ref name="Heppner"/><ref name="Gullan & Cranston (2005)">{{cite book |title=The Insects: an Outline of Entomology |last=Gullan |first=P. J. |edition=3rd |author2=Cranston, P. S.|year=2005 |publisher=Wiley-Blackwell |isbn=978-1-4051-1113-3 |url=https://books.google.com/books?id=ZZaVjVWUaXIC}}</ref>{{rp|84}} Bright blues, greens, reds, and iridescence are usually created not by pigments but through the microstructure of the scales. This structural coloration is the result of coherent scattering of light by the photonic crystal nature of the scales.<ref name="Mason (1927)">{{cite journal |last=Mason|first=C. W. |year=1927 |title=Structural colours in Insects – II| journal=Journal of Physical Chemistry |volume=31 |issue=3 |pages=321–354 | doi=10.1021/j150273a001 |bibcode=1927JPhCh..31..321M }}</ref><ref name="Vukusic (2006)">{{cite journal |last1=Vukusic |first1=P. |year=2006 |title=Structural colour in Lepidoptera |journal=Current Biology |pmid=16920604 |volume=16 |issue=16 |pages=R621–R623 |url=http://newton.ex.ac.uk/research/emag/pubs/pdf/Vukusic_CB_2006.pdf |doi=10.1016/j.cub.2006.07.040 |s2cid=52828850 |doi-access=free |bibcode=2006CBio...16.R621V }}</ref><ref name="Prum (2006)">{{cite journal |last=Prum| first=R. O. |author2=Quinn, T. |author3=Torres, R. H.| year = 2006|title = Anatomically diverse butterfly scales all produce structural colours by coherent scattering| journal = Journal of Experimental Biology |volume=209 | issue=4 | pages=748–765 |pmid=16449568 |doi=10.1242/jeb.02051 |doi-access=free | bibcode=2006JExpB.209..748P |hdl=1808/1600 |hdl-access=free }}</ref> The specialised scales that provide structural colours to reflected light mostly produce ultraviolet patterns which are discernible in that part of the ultraviolet spectrum that lepidopteran eyes can see.<ref name="Heppner"/> The structural colour seen is often dependent upon the angle of view. For example, in ''Morpho cypris'', the colour from the front is a bright blue but when seen from an angle changes very quickly to black.<ref name="Kinoshita (2008)">{{cite book |title=Structural Colors in the Realm of Nature |url=https://archive.org/details/structuralcolors00kino |url-access=limited |last=Kinoshita |first=Shu-ichi |year=2008 |publisher=World Scientific |isbn=978-981-270-783-3 |pages=[https://archive.org/details/structuralcolors00kino/page/n66 52]–53}}</ref>

The iridescent structural coloration on the wings of many lycaenid and papilionid species, such as ''Parides sesostris'' and ''Teinopalpus imperialis'', and lycaenids such as ''Callophrys rubi'', ''Cyanophrys remus'', and ''Mitoura gryneus'', has been studied.<ref>{{cite journal |last1=Michielsen |first1=K. |last2=Stavenga |first2=D. G. |year=2008 |title=Gyroid cuticular structures in butterfly wing scales: biological photonic crystals |journal=Journal of the Royal Society Interface |volume=5 |issue=18 |pages=85–94 |doi=10.1098/rsif.2007.1065 |pmid=17567555 |pmc=2709202 |bibcode=2008JRSI....5...85M }}</ref> They manifest the most complex photonic scale architectures known – regular three-dimensional periodic lattices, that occur within the lumen of some scales.<ref>{{cite journal |last1=Poladian |first1=Leon |last2=Wickham |first2=Shelley |last3=Lee |first3=Kwan |last4=Large |first4=Maryanne C. J. |year=2009 |title=Iridescence from photonic crystals and its suppression in butterfly scales |journal=Journal of the Royal Society Interface |volume=6 |issue=Suppl. 2 |pages=S233–S242 |pmid=18980932 |pmc=2706480 |doi=10.1098/rsif.2008.0353.focus}}</ref> In the case of the Kaiser-i-Hind (''Teinopalpus imperialis''), the three-dimensional photonic structure has been examined by transmission electron tomography and computer modelling to reveal naturally occurring "chiral tetrahedral repeating units packed in a triclinic lattice",<ref name="Argyros et al">{{cite journal |last1=Argyros |first1=A. |author2=Manos, S. |author3=Large, M. C. J. |author4=McKenzie, D. R. |author5=Cox, G. C. |author6=Dwarte, D. M. |year=2002 |title=Electron tomography and computer visualisation of a three-dimensional 'photonic' crystal in a butterfly wing-scale |journal=Micron |pmid=11976036 |volume=33 |issue=5 |pages=483–487 |doi=10.1016/S0968-4328(01)00044-0}}</ref><ref>{{cite journal |last1=Ghiradella |first1=Helen |year=1991 |title=Light and color on the wing: structural colors in butterflies and moths |journal=Applied Optics |volume=30 |pmid=20706416 |issue=24 |pages=3492–3500 |doi=10.1364/AO.30.003492|bibcode=1991ApOpt..30.3492G }}</ref> the cause of the iridescence.

<gallery> File:Morphocypris2.JPG|Structural blue colour in ''morpho cypris'', a nymphalid File:Morphocyprislateral.JPG|When the same ''Morpho cypris'' specimen is seen end on, the blue colour turns black. File:Common_Jezebel_Delias_eucharis_edit_by_kadavoor.jpg|The white colour in pierids, such as ''Delias eucharis'' is a derivative of uric acid, an excretory product. File:Teinopalpus imperialis Male.jpg|The green iridescence of the swallowtail Kaiser-i-Hind (''Teinopalpus imperialis'') led to the discovery of three-dimensional photonic crystal structure. File:Colostygia_aqueata_Buchstein01.jpg|Wing coloration in certain Lepidoptera permits camouflage as can be seen in the case of the geometrid moth ''Colostygia aqueata''. </gallery>

=== Function === [[File:Luna moth eye spot.jpg|thumb|Closeup of male Luna moth eyespot]] [[File:Androconia Bicyclus anynana San-Martin.jpg|thumb|Androconial patch on hindwing of ''Bicyclus anynana'', a nymphalid]]

Scales play an important part in the natural history of Lepidoptera. Scales enable the development of vivid or indistinct patterns which help the organism protect itself by camouflage, mimicry, and warning. Besides providing insulation, dark patterns on wings allow sunlight to be absorbed and are probably involved in thermoregulation. Bright and distinctive colour patterns in butterflies which are distasteful to predators help communicate their toxicity or inedibility, thus preventing predation. In Batesian mimicry, wing colour patterns help edible lepidopterans mimic inedible models, while in Müllerian mimicry, inedible butterflies resemble each other to reduce the numbers of individuals sampled by inexperienced predators.<ref name="Scoble scale"/>

Scales may have evolved initially for providing insulation. Scales on the thorax and other parts of the body may contribute to maintaining the high body temperatures required during flight. The "solid" scales of basal moths are however not as efficient as those of their more advanced relatives as the presence of a lumen adds air layers and increases the insulation value.<ref name="Scoble scale"/> Scales also help increase the lift to drag ratio in flight.<ref name="Scoble scale"/>

For newly emerged adults of most myrmecophilous Lycaenidae, deciduous waxy scales provide some protection from predators as they emerge from the nest.<ref name="Scoble scale"/> In the case of the moth butterfly (''Liphyra brassolis''), the caterpillars are unwelcome guests in nests of tree ants, feeding on ant larvae. The adults emerging from pupae are covered with soft, loose adhesive scales which rub off and stick on the ants as they make their way out of the nest after hatching.<ref name="Wynter-Blyth, (1957)">{{cite book |title=Butterflies of the Indian Region |last=Wynter-Blyth |first=M. A. |year=1957 |publisher=Bombay Natural History Society |location=Mumbai, India |edition=Reprint of 2009 by Today & Tomorrows Publishers, New Delhi |isbn=978-81-7019-232-9 |url=https://books.google.com/books?id=kdLDv-jw4P0C}}</ref>

[[File:Danaus chrysippus male 2 by kadavoor.jpg|thumb|left|Male ''Danaus chrysippus'' showing the pheromone pouch and brush-like organ in Kerala, India]]

==== Androconia ==== <!--Several redirects target this section. If renaming, please also retarget those -->

Male Lepidoptera possess special scales, called ''androconia'' (singular – ''androconium''), which have evolved as a result of sexual selection for the purposes of disseminating pheromones for attracting suitable mates. Androconia may be dispersed on the wings, body, or legs or occur in patches, referred to as "brands", "sex brands" or "stigmata" on the wings, usually in invaginations of the upper surface of the forewings, sometimes concealed by other scales. Androconia are also known to occur in the folds of wings. These brands sometimes consist of hairlike tufts which facilitate the diffusion of the pheromone. The role of androconia in the courtship of pierid and nymphalid butterflies, such as ''Pyronia tithonus'' and ''Dryas iulia'', has been proven experimentally.<ref name="Handbuch"/>{{rp|16–17}}<ref>{{cite encyclopedia |url=http://www.britannica.com/EBchecked/topic/24054/androconium |title=Androconium |encyclopedia=Encyclopædia Britannica |access-date=30 October 2010}}</ref><ref>{{cite journal |last1=Hall |first1=Jason P. W. |last2=Harvey |first2=Donald J. |year=2002 |title=A survey of androconial organs in the Riodinidae (Lepidoptera) |journal=Zoological Journal of the Linnean Society |volume=136 |issue=2 |pages=171–197 |url=http://www.butterfliesofecuador.com/reprints/2002HH_PS.pdf |doi= 10.1046/j.1096-3642.2002.00003.x|doi-access=free }}</ref><ref>{{cite book |title=An Introduction to Entomology |last=Comstock |first=John Henry |author-link=John Henry Comstock |year=2008 |orig-year=1920|publisher=Read Books, Originally published by Comstock Publishing Company |isbn=978-1-4097-2903-7 |url=https://books.google.com/books?id=VO9jlZc-dikC}}</ref><ref>{{Cite book|title=The Butterflies of North America: A Natural History and Field Guide|last=Scott|first=James A|date=1997|publisher=Stanford University Press|isbn=978-0804720137|location=Stanford, Calif.|language=en|oclc=49698782|url-access=registration|url=https://archive.org/details/butterfliesofnor00jame}}</ref> {{clear}} '''Successive close-ups of the scales of a peacock wing''' {{ButterflyScaleMicroscopy}}

== Abdomen == The abdomen or body is composed of nine segments. In the larva it ranges from segments 5 to 13. The eleventh segment of the larva holds a pair of anal claspers, which protrude in some taxa and represent the genitalia.<ref name="Evans"/>

Many families of moths have special organs to help detect bat echolocation. These organs are known as ''tympana'' (singular – ''typanum''). The Pyraloidea and almost all Geometroidea have tympana located on the anterior sternite of the abdomen. The Noctuoidea also have tympana, but in their case, the tympana are located on the underside of the metathorax, the structure and position of which are unique and a taxonomic distinguishing feature of the superfamily.<ref name="Triplehorn & Johnson (2005)"/><ref>Scoble (2005). Chapter "Higher Ditrysia", pg 328.</ref>

The females of some moths have a scent-emitting organ located at the tip of the abdomen.<ref name="Hoskins web site"/>

=== Genitalia === {{main|Lepidoptera genitalia}} thumb|Male genitalia of Lepidoptera thumb|Female genitalia of Lepidoptera The genitalia are complex and provide the basis for species discrimination in most families and also in family identification.<ref name="Resh & Carde"/> The genitalia arise from the tenth or most distal segment of the abdomen. Lepidoptera have some of the most complex genital structures of all insects, with a wide variety of complex spines, setae, scales and tufts in males, claspers of different shapes and modifications of the ''ductus bursae'' in females, through which stored sperm is transferred within the female directly, or indirectly, to the vagina for fertilisation.<ref name="Heppner"/><ref name="Britannica">{{cite encyclopedia| url = http://www.britannica.com/EBchecked/topic/336811/lepidopteran | title = Lepidopteran | encyclopedia = Encyclopædia Britannica | access-date = 16 November 2010}}</ref><ref name="Scoble_gen">Scoble (1995). Section "Adult abdomen", (pp. 98–102).</ref>

The arrangement of genitalia is important in courtship and mating as they prevent cross-specific mating and hybridisation. The uniqueness of a species' genitalia led to the use of the morphological study of genitalia as one of the most important keys in taxonomic identification of taxa below family level. With the advent of DNA analysis, the study of genitalia has now become just one of the techniques used in taxonomy.<ref name="Hoskins web site"/>

There are three basic configurations of genitalia in the majority of the Lepidoptera based on how the arrangement in females of openings for copulation, fertilisation and egg laying has evolved:

* ''Exoporian'': Hepialidae and related families have an external groove that carries sperm from the copulatory opening (gonopore) to the (ovipore) and are termed Exoporian.<ref name="Resh & Carde"/> * ''Monotrysian'': Primitive groups have a single genital aperture near the end of the abdomen through which both copulation and egg laying occur. This character is used to designate the Monotrysia.<ref name="Resh & Carde"/> * ''Ditrysian'': The remaining groups have an internal duct that carry sperm and form the Ditrysia, with separate openings for copulation and egg laying.<ref name="Resh & Carde"/>

The genitalia of the male and female in any particular species are adapted to fit each other like a lock (female) and key (male).<ref name="Hoskins web site"/> In males, the ninth abdominal segment is divided into a dorsal "tegumen" and ventral "viniculum".<ref name="Scoble_gen"/> They form a ring-like structure for the attachment of genital parts and a pair of lateral clasping organs (claspers or "harpe"). The male has a median tubular organ (called the aedeagus) which is extended through an eversible sheath (or "vesica") to inseminate the female.<ref name="Britannica"/> The males have paired sperm ducts in all lepidopterans; the paired testes are separate in basal taxa and fused in advanced forms.<ref name="Britannica"/>

While the layout of internal genital ducts and openings of the female genitalia depends upon the taxonomic group that insect belongs to, the internal female reproductive system of all lepidopterans consists of paired ovaries and accessory glands which produce the yolks and shells of the eggs. Female insects have a system of receptacles and ducts in which sperm is received, transported, and stored. The oviducts of the female join to form a common duct (called the "oviductus communis") which leads to the vagina.<ref name="Britannica"/><ref name="Scoble_gen"/>

When copulation takes place, the male butterfly or moth places a capsule of sperm (spermatophore) in a receptacle of the female (called the ''corpus bursae''). The sperm, when released from the capsule, swims directly into or via a small tube into a special seminal receptacle (spermatheca), where the sperm is stored until it is released into the vagina for fertilisation during egg laying, which may occur hours, days, or months after mating. The eggs pass through the ovipore. The ovipore may be at the end of a modified ovipositor or surrounded by a pair of broad setose anal papillae.<ref name="Britannica"/><ref name="Scoble_gen"/>

Butterflies of the Parnassinae (family Papilionidae) and some Acraeini (family Nymphalidae) add a post-copulatory plug, called the sphragis, to the abdomen of the female after copulation preventing her from mating again.<ref name="Heppner"/>

The males of many species of Papilionoidea are furnished with secondary sexual characteristics. These consist of scent-producing organs, brushes, and brands or pouches of specialised scales. These presumably meet the function of convincing the female that she is mating with a male of the correct species.<ref name="Evans"/>

Three species of hawkmoth have been recorded to emit ultrasound clicks by rubbing their genitalia; males produce by rubbing rigid scales on the exterior of the ''claspers'' while females produce sound by contracting their genitalia which causes rubbing of scales against the abdomen. The function of this noise making is not clear and suggestions put forward include the jamming of bat echolocation, and, advertising that the bat's prey are prickly and excellent fliers.<ref name="GenitalZap">{{cite journal|url=http://www.nature.com/news/hawkmoths-zap-bats-with-sonic-blasts-from-their-genitals-1.13333|author=Watson, Traci|title=Hawkmoths zap bats with sonic blasts from their genitals |journal=Nature |date=3 July 2013|access-date=5 July 2013|doi=10.1038/nature.2013.13333|s2cid=180859622|url-access=subscription}}</ref> <gallery> File:Citheronia regalis closed claspers, MM.jpg|''Citheronia regalis'' with claspers closed File:Citheronia regalis open claspers, MM.jpg|''Citheronia regalis'' with claspers open File:Parnassius apollo - 01 (HS).jpg|Female Apollo with sphragis or mating plug File:Parnassius apollo - sphragis 02 (HS).jpg|Close up of the hardened sphragis extruding 2 to 3&nbsp;mm behind the abdomen of ''Parnassius'' </gallery>

===Cloaca===

Lepidopteran insects feature a cloaca at the end of the abdomen. This may be complete, incorporating the anus, the ovipore and the copulatory pore, as in the case of the Dacnonypha, Zeugloptera and the majority of the Monotrysia; or incomplete, incorporating the anus and ovipore only, as found in some of the Monotrysia, the Psychidae, and in some Choreutidae and Cossidae.<ref name="Dugdale1974">{{cite journal|last=Dugdale|first=J.S.|title=Female genital configuration in the classification of the Lepidoptera |journal=New Zealand Journal of Zoology|volume=1 |issue=2 |url=https://books.google.com/books?id=o0xFG-MDpWYC&pg=PA132|access-date=3 May 2020|year=1974|publisher=The Royal Society of New Zealand|page=132|doi=10.1080/03014223.1974.9517821}}</ref>

== Development == thumb|Three stages of a sphingid moth – larva (or caterpillar), chrysalis (or pupa), and adult (or imago) The fertilised egg matures and hatches to give a caterpillar. The caterpillar is the feeding stage of the lepidopteran life cycle. The caterpillar needs to be able to feed and to avoid being eaten and much of its morphology has evolved to facilitate these two functions.<ref name="Scoble_immature_stages">Scoble (1995). Chapter "Immature stages", (pp. 104–133).</ref>{{Rp|108}} After growth and ecdysis, the caterpillar enters into a sessile developmental stage called a pupa (or chrysalis) around which it may form a casing. The insect develops into the adult in the pupa stage; when ready the pupa hatches and the adult stage or imago of a butterfly or moth arises.

=== Egg === {{See also|Egg (biology)}} thumb|left|300x300px|The butterfly can be seen laying eggs underneath the leaf.

Like most insects, the Lepidoptera are oviparous or "egg layers".<ref name="Gullan & Cranston (2005)"/> Lepidopteran eggs, like those of other insects, are centrolecithal in that the eggs have a central yolk surrounded by cytoplasm. The yolk provides the liquid nourishment for the embryo caterpillar until it escapes from the shell.<ref name="Nation (2002)">{{cite book |title=Insect Physiology and Biochemistry |last=Nation |first=James L. |year=2002 |publisher=CRC Press|isbn=978-0-8493-1181-9 |url=https://books.google.com/books?id=l3v2tOvz1uQC}}</ref> The cytoplasm is enclosed by the vitteline envelope and a proteinaceous membrane called the chorion protects the egg externally.<ref name="Nation (2002)"/><ref name="chapman_egg">Chapman (1998). Section "The egg and embryology" (pp. 325–362).</ref> The zygote nucleus is located posteriorly.<ref name="chapman_egg"/>

In some species of Lepidoptera, a waxy layer is present inside the chorion adjacent to the vitelline layer which is thought to have evolved to prevent desiccation. In insects, the chorion has a layer of air pores in the otherwise solid material which provides very limited capability for respiratory function. In Lepidoptera, the chorion layer above this air pore layer is lamellar with successive sheets of protein arranged in a particular direction and stepped so as to form a helical arrangement.<ref name="chapman_egg"/>

The top of the egg is depressed and forms a small central cavity called micropyle through which the egg is fertilised.<ref name="Evans"/> The micropyle is situated on top in eggs which are globular, conical, or cylindrical; in those eggs which are flattened or lenticular, the micropyle is located on the outer margin or rim.<ref name="Moth Book"/><ref name="Butterfly Book">{{cite book |title=The Butterfly Book |last=Holland |first=W. J. |year=1898 |publisher=Hutchinson and Co |location=London |chapter=Introduction |chapter-url=https://archive.org/details/butterflybookpop01smholl |chapter-format=PDF |isbn=978-0-665-13041-0}}</ref>

The eggs of Lepidoptera are usually rounded and small (1&nbsp;mm) though they may be as large as 4&nbsp;mm in the case of Sphingidae and Saturniidae.<ref name="Heppner"/>{{Rp|640}} They are generally quite plain in colour, white, pale green, bluish green, or brown. Butterfly and moth eggs come in various shapes; some are spherical, others hemispherical, conical, cylindrical, or lenticular (lens shaped). Some are barrel shaped or pancake shaped, while others are turban or cheese shaped. They may be angled or depressed at both ends, ridged or ornamented, spotted or blemished.<ref name="Moth Book"/><ref name="Butterfly Book"/>

The eggs are deposited singly, in small clusters, or in a mass, and invariably on or near the food source. Captive moths have been known to lay eggs in the cages they have been sequestered in.<ref name="Moth Book"/><ref name="Butterfly Book"/> Egg size in the Lepidoptera is affected by a number of factors. Lepidoptera species which overwinter in the egg stage usually have larger eggs than the species that do not. Similarly, species feeding on woody plants in the larval stage have larger eggs than those species feeding on herbaceous plants. Eggs laid by older females of a few butterfly species have been noted to be smaller in size than their younger counterparts. In the absence of adequate nutrition, the females of the corn-borer moth ( ''Ostrinia'' spp.) have been recorded to lay clutches with egg sizes below normal.<ref name="chapman_egg"/>

While escaping, the newly hatched larvae of many species sometimes eat the chorion to emerge. Alternatively, the egg shell may have a line of weakness around the cap which gives way allowing the larva to emerge.<ref name="chapman_egg"/> The egg shell and a small amount of yolk trapped in the amniotic membranes forms the first food for most lepidopteran larvae.

<gallery> File:Anaphaeis aurota eggs sec.jpg|Eggs of pioneer (''Anaphaeis aurota'' family Pieridae) File:Pachliopta hector egg sec.jpg|Eggs of crimson rose (''Atrophaneura hector'' family Papilionidae) File:Carcharodus alceae egg.jpg|Egg of mallow skipper (''Carcharodus alceae'' family Hesperiidae) File:Lycaena dispar egg 2.jpg|Egg of large copper (''Lycaena dispar'' family Lycaenidae) </gallery> <gallery> File:Archips goyerena eggs 0014170.jpg|Side by side eggs of ditrysian lepidopteran, baldcypress leafroller (''Archips goyerena'' family Tortricidae) File:Actias luna eggs sjh.JPG|Upright eggs of ditrysian lepidopteran, moon moth (''Actias luna'' family Saturniidae) laid in captivity on paper File:Bupalus_piniaria_ova.jpg|Eggs of pine looper moth (''Bupalus piniaria'' family Geometridae) File:Malacosoma neustria eggs.jpg|Eggs of lackey moth (''Malacosoma neustria'' family Lasiocampidae) </gallery>

=== Caterpillar === {{Main|Caterpillar}} thumb|right|350px|A – head, B – thorax, C – abdomen, 1 – prothoracic shield, 2 – spiracle, 3 – true legs, 4 – midabdominal prolegs, 5 – anal proleg, 6 – anal plate, 7 – tentacle, a – eye, b – stemmata (ocelli), c – antenna, d – mandible, e – labrum, f – frontal triangle. Caterpillars, are "characteristic polypod larvae with cylindrical bodies, short thoracic legs and abdominal prolegs (pseudopods)".<ref name="Gullan_Cranston_2010">{{cite book |author1=P. J. Gullan |author2=P. S. Cranston |year=2010 |title=The Insects: an Outline of Entomology |url=https://archive.org/details/insectsoutlineen00pjgu |url-access=limited |edition=4th |isbn=978-1-4443-3036-6 |publisher=Wiley-Blackwell |chapter=Life-history patterns and phases |pages=[https://archive.org/details/insectsoutlineen00pjgu/page/n180 156]–164}}</ref> They have a toughened (sclerotised) head capsule, mandibles (mouthparts) for chewing, and a soft tubular, segmented body, that may have hair-like or other projections, three pairs of true legs, and additional prolegs (up to five pairs).<ref name="Dugdale"/> The body consists of thirteen segments, of which three are thoracic (T1, T2, and T3) and ten are abdominal (A1 to A10).<ref name="Triplehorn & Johnson (2005)"/>

thumb|Caterpillar head morphology (click to enlarge) [[File:Actias selene 5th instar spiracles sjh.jpg|thumb|Spiracles on caterpillar of ''Actias selene'']] [[File:01 chenille machaon (detail).jpg|thumb|upright|Old World swallowtail caterpillar everting its osmeterium in defence]] thumb|upright|Crochets on a caterpillar's prolegs

All true caterpillars have an upside-down Y-shaped line that runs from the top of the head downward. In between the Y-shaped line lies the frontal triangle or frons. The clypeus, located below the frons, lies between the two antennae. The labrum is found below the clypeus. There is a small notch in the centre of the labrum with which the leaf edge engages when the caterpillar eats.<ref name="Wagner (2005)">{{cite book |title=Caterpillars of Eastern North America |last=Wagner |first=David L. |year=2005 |publisher=Princeton University Press |isbn=978-0-691-12144-4 |url=https://books.google.com/books?id=J8ppQgAACAAJ}}</ref>

The larvae have silk glands which are located on the labium. These glands are modified salivary glands. They use these silk glands to make silk for cocoons and shelters.<ref name="Triplehorn & Johnson (2005)"/> Located below the labrum are the mandibles.<ref name="Wagner (2005)"/> On each side of the head there are usually six stemmata just above the mandibles. These stemmata are arranged in a semicircle. Below the stemmata there is a small pair of antennae, one on each side.<ref name="Triplehorn & Johnson (2005)"/><ref name="Wagner (2005)"/>

The thorax bears three pairs of legs, one pair on each segment. The prothorax (T1) has a functional spiracle which is actually derived from the mesothorax (T2) while the metathorax has a reduced spiracle which is not externally open and lies beneath the cuticle.<ref name="Scoble_immature_stages"/>{{Rp|114}} The thoracic legs consist of coxa, trochanter, femur, tarsus, and claw and are constant in form throughout the order. However they are reduced in the case of certain leaf-miners and elongated in certain Notodontidae. In Micropterigidae, the legs are three-segmented, as the coxa, trochanter, and femur are fused.<ref name="Scoble_immature_stages"/>{{Rp|114}}

Abdominal segments three through six and ten may each bear a pair of legs that are more fleshy.<ref name="Triplehorn & Johnson (2005)"/> The thoracic legs are known as true legs and the abdominal legs are called prolegs.<ref name="Wagner (2005)"/> The true legs vary little in the Lepidoptera except for reduction in certain leaf-miners and elongation in the family Notodontidae.<ref name="Scoble_immature_stages"/>{{Rp|114}} The prolegs contain a number of small hooks on the tip, which are known as crochets. The families of Lepidoptera differ in the number and positioning of their prolegs. Some larvae such as inchworms (Geometridae) and loopers (Plusiinae) have five pairs of prolegs or less, while others like Lycaenidae and slug caterpillars (Limacodidae) lack prolegs altogether.<ref name="Triplehorn & Johnson (2005)"/><ref name="Wagner (2005)"/> In some leaf-mining caterpillars there are crochets present on the abdominal wall which are reduced prolegs, while other leaf-mining species lack the crochets entirely.<ref name="Caterpillars of the Pacific NW">{{cite web |url=https://www.npwrc.usgs.gov/resource/insects/catnw/morph.htm |title=Caterpillar Morphology |author=Miller, Jeffrey C. |date= 3 August 2006 |work=Caterpillars of the Pacific Northwest Forests and Woodlands |publisher=Northern Prairie Wildlife Research Center |access-date=16 November 2010}}</ref> The abdominal spiracles are located on each side of the body on the first eight abdominal segments.<ref name="Wagner (2005)"/>

Caterpillars have different types of projections; setae (hairs), spines, warts, tubercles, and horns. The hairs come in an assortment of colours and may be long or short; single, in clusters, or in tufts; thinner at the point or clubbed at the end. A spine may either be a ''chalaza'' (having a single point) or a ''scolus'' (having multiple points). The warts may either be small bumps or short projections on the body. The tubercles are fleshy body projections that are either short and bump like or long and filament like. They usually occur in pairs or in a cluster on one or more segments. The horns are short, fleshy, and are drawn to a point. They are usually found on the eighth abdominal segment.<ref name="Caterpillars of the Pacific NW"/>

A large number of species of families Saturniidae, Limacodidae, and Megalopygidae have stinging caterpillars which have poisonous setae, called urticating hairs, and in the case of ''Lonomia'' – a Brazilian saturniid genus – can kill a human due to its potent anticoagulant poison.<ref name="Heppner"/>{{rp|644}} Caterpillars of many taxa that have sequestered toxic chemicals from host plants or have sharp urticating hair or spines, display aposematic colouration and markings.<ref name="MacAuslane">{{cite book |last1=MacAuslane |first1=Heather J. |editor1-first=John L.|editor1-last=Capinera |title=Encyclopedia of Entomology |url=https://books.google.com/books?id=i9ITMiiohVQC |edition=2nd |series=Gale virtual reference library |volume=4 |year=2008 |publisher=Springer Reference |isbn=978-1-4020-6242-1 |chapter=Aposematism |chapter-url=https://books.google.com/books?id=i9ITMiiohVQC&pg=PA239}}</ref>

Caterpillars undergo ecdysis and have a number of larval instars, usually five but varying between species. The new cuticle is soft and allows the increase in size and development of the caterpillar before becoming hard and inelastic. In the last ecdysis, the old cuticle splits and curls up into a small ball at the posterior end of the pupa and is known as the larval exuvia.<ref name="Common (1990)">{{cite book |title=Moths of Australia |last=Common |first=I. F. B. |year=1990 |publisher=Brill Publishers |isbn=978-90-04-09227-3 |url=https://books.google.com/books?id=magzbmvdRvQC}}</ref>{{rp|31}}

<gallery> File:Common mormon (Papilio Polyetes) catapillars.jpg|Two instars of the papilionid common Mormon with different camouflage schemes – resembling bird droppings and vegetation File:Stauropus fagi3.jpg|The larvae of notodontid moths, such as that of ''Stauropus fagi'', have elongated thoracic legs. File:Taturana.JPG|The larva of ''Lonomia obliqua'', a saturniid moth from Brazil, has urticating hairs with a lethal anticoagulant poison. File:Saddleback moth caterpillar.jpg|Saddleback moth (''Acharia stimulea'') larvae display aposematic colouring in the shape of a saddle. File:PhobUnderside.JPG|Underside of slug caterpillars of ''Phobetron pithecium'' (family Limacododiae) showing the absence of prolegs File:Phyllocnistis populiella damage2.jpg|Caterpillar of common aspen leafminer (''Phyllocnistis populiella'') File:Hypsipyla.jpg|The mahogany shoot-borer (''Hypsipyla grandella'') damages mahogany in Brazil. File:Family Psychidae444.jpg|Bagworm caterpillar (possibly ''Hyalarcta huebneri'' family Psychidae) emerging from its case File:Blue Mormon Larva.jpg|Last instar of blue Mormon larva-resembling vegetation </gallery> {{clear}}

=== Chrysalis or pupa === {{Main|Pupa}} thumb|Chrysalis suspended from its cremaster [[File:CecropiaMothLabelled.jpg|thumb|right|The obtect pupa of Cecropia moth showing parts]] [[File:Micropterygid pupae.jpg|thumb|right|The exarate pupa of a micropterygid moth, ''Mnemonica auricyanea'']] A cocoon is a casing spun of silk by many moth caterpillars, and numerous other holometabolous insect larvae as a protective covering for the pupa. Most Lepidoptera larvae will either make a cocoon and pupate inside them or will pupate in a cell under the ground,<ref name="Triplehorn & Johnson (2005)"/> with the exception of butterflies and advanced moths such as noctuids, whose pupae are exposed.<ref name="Heppner"/> The pupae of moths are usually brown and smooth whereas butterfly pupae are often colourful and their shape varies greatly.<ref name="Triplehorn & Johnson (2005)"/> In butterflies, the exposed pupa is often referred to as a chrysalis, derived from the Greek term "chrysalis": {{lang|el|χρυσός}} (''{{lang|el|chrysós}}'') for gold, referring to the golden colour of some pupae.<ref name="Chrysalis">{{cite web |url=http://dictionary.reference.com/browse/chrysalis |title=Chrysalis |author=Harper, Douglas |work=Online Etymology Dictionary |publisher=Dictionary.com |access-date=16 November 2010}}</ref>

The caterpillars of many butterflies attach themselves by a button of silk to the underside of a branch, stone, or other projecting surface. They remain attached to the silk pad by a hook-like process called a cremaster. Most chrysalids hang head downward, but in the families Papilionidae, Pieridae, and Lycaenidae, the chrysalis is held in a more upright position by a silk girdle around the middle of the chrysalis.<ref name="Triplehorn & Johnson (2005)"/>

The pupae of most Lepidoptera are ''obtect'', with appendages fused or glued to the body, while the rest have ''exarate'' pupae, having the antennae, legs, and wings free and not glued to the body.<ref name="Resh & Carde2">{{cite book |last1=Stehr |first1=Frederick W.|editor2-last=Cardé |editor2-first=Ring T.|editor1-first=Vincent H. |editor1-last=Resh |title=Encyclopedia of Insects |chapter-url=https://books.google.com/books?id=Ip57QSMCRk4C&pg=PA970 |edition=2nd |year=2009 |publisher=Academic Press |isbn=978-0-12-374144-8 |pages=970–973|chapter=Pupa and puparium}}</ref>

During the pupal stage, the morphology of the adult is developed through elaboration from larval structures.<ref name="Gullan & Cranston (2005)"/>{{rp|151}} The general aspect of the adult is visible before the outer surface hardens – the head, resting on the thorax, the eyes, antennae (brought forward over the head), the wings brought over the thorax, and the six legs between the wings and the abdomen.<ref name="Figuier (1868)">{{cite book |title=The Insect World: Being a Popular Account of the Orders of Insects, Together With a Description of the Habits and Economy of Some of the Most Interesting Species |last=Figuier |first=Louis |author-link=Louis Figuier |year=1868 |publisher=D. Appleton & Co |location=New York |url=https://archive.org/details/insectworldbein00dgoog}}</ref> Among the features discernible in the head region of a pupa are sclerites, sutures, pilifers, mandibles, eye-pieces, antennae, palpi, and the maxillae. The pupal thorax displays the three thoracic segments, legs, wings, tegulae, alar furrows, and axillary tubercles. The pupal abdomen exhibits the ten segments, spines, setae, scars of larval prolegs and tubercles, anal, and genital openings, as well as spiracles. The pupa of borers display the flange-plates while those of specialised Lepidoptera exhibit the cremaster.<ref name="Mosher (1918)"/>{{rp|23–29}}

While the pupa is generally stationary and immobile, those of the primitive moth families Micropterigidae, Agathiphagidae, and Heterobathmiidae have fully functional mandibles.<ref name="Scoble_immature_stages"/>{{rp|131}} These serve principally to allow the adult to escape from the cocoon.<ref name="Mosher (1918)">{{cite book |title=A Classification of the Lepidoptera Based on Characters of the Pupa |last=Mosher |first=Edna |edition=reprint |orig-year=1918 |year=2009 |publisher=BiblioBazaar, LLC |isbn=978-1-110-02244-1 |url=https://books.google.com/books?id=8oIb3KB3wLQC}}</ref>{{rp|34}} Besides this, all appendages and the body are separate from the pupal skin and enjoy a degree of independent motion. All other superfamilies of the Lepidoptera are more specialised, have non-functional mandibles, appendages and body attached to the pupal skin, and lose a degree of independent movement.<ref name="Mosher (1918)"/>{{rp|20}}

The pupae of some moths are able to wriggle their abdomen. The three caudal segments of the pupal abdomen (segments 8–10) are fixed; the other segments are movable to some degree. While the more evolved Lepidoptera can wriggle only the last two or three segments at the end of the abdomen, more basal taxa such as the Micropterigidae can wriggle the remaining seven segments of the abdomen; this presumably helps them to protrude the anterior end from the pupal case before eclosion.<ref name="Mosher (1918)"/>{{rp|28}}<ref name="Common (1990)"/> The pupae of Hepialidae are able to move back and forth in the larval tunnel by wriggling, aided by projections on the back in addition to spines.<ref name="Common (1990)"/> Abdominal wriggling is considered to be of startle value and discouraging to predators. In the case of a few hawk moths, such as ''Theretra latreillii'', the wriggling of the abdomens is accompanied by a rattling or clicking sound which adds to the startle effect.<ref name="Common (1990)"/>

In some species, such as ''Heliconius charithonia'', mating can occur inside the pupa of females by males.<ref>{{cite journal | last1 = Sourakov | first1 = Andrei | year = 2008 | title = Pupal Mating in Zebra Longwing (''Heliconius charithonia''): Photographic Evidence | journal = News of the Lepidopterists' Society | volume = 50 | issue = 1| pages = 26–32 }}</ref>

<gallery> File:Black_Swallowtail_Chrysalis_Megan_McCarty33.jpg|Papilionid chrysalids are typically attached to a substrate by the cremaster and with the head up held by a silk girdle. File:Common_crow_pupa.jpg|Suspended golden-coloured nymphalid chrysalis of ''Euploea core'' File:Actias luna emergence sjh stabilised.gif|''Actias luna'' (family Saturniidae) emerging from cocoon File:Agrius convoluli (pupa).jpg|The specialised pupa of a sphingid moth, ''Agrius convolvuli'', can wriggle its abdomen making a clicking sound, which can have a startle effect. </gallery>

== Defense and predation == [[File:Orange Oakleaf (Kallima inachus).jpg|thumb|right|The orange oakleaf (''Kallima inachus'') resembles a dried leaf perfectly.]] [[File:Jamides celeno DSF by Kadavoor.JPG|thumb|right|Filamentous tails of a lycaenid butterfly, the common cerulean (''Jamides celeno''). These tails are thought to confuse a predator as to the location of the head thereby increasing the butterfly's chances of survival.]] [[File:MP - ornithoptera alexandrae 1.jpg|thumb|right|Queen Alexandra's birdwing (''Ornithoptera alexandrae'' family Papilionidae), the largest butterfly in the world, has bright colours and distinctive markings which advertise its inedibility.]] Lepidopterans are soft bodied, fragile, and almost defenseless while the immature stages move slowly or are immobile, hence all stages are exposed to predation by birds, small mammals, lizards, amphibians, invertebrate predators (notably parasitoid and parasitic wasps and flies) as well as fungi and bacteria. To combat this, Lepidoptera have developed a number of strategies for defense and protection which include camouflage, aposematism, mimicry, and the development of threat patterns and displays.<ref name="Enchanted">{{Cite web |url=http://www.enchantedlearning.com/subjects/butterfly/allabout/Defense.shtml|title=Caterpillar and Butterfly Defense Mechanisms |publisher=EnchantedLearning.com |access-date=7 December 2009}}</ref>

Camouflage is an important defense strategy enabled by changes in body shape, colour, and markings. Some lepidopterans blend with the surroundings, making them difficult to be seen by predators. Caterpillars can be shades of green that match their host plant. Others resemble inedible objects, such as twigs or leaves. The larvae of some species, such as the common Mormon and the western tiger swallowtail look like bird droppings.<ref name=Enchanted/><ref>{{Cite book |last=Latimer |first=Jonathan P. |author2=Karen Stray Nolting |title=Butterflies |publisher=Houghton Mifflin Harcourt |year=2000 |isbn=978-0-395-97944-0 |url=https://archive.org/details/butterflies0000lati|url-access=registration |page=[https://archive.org/details/butterflies0000lati/page/12 12] |quote=Tiger swallowtail. }}</ref>

Some species of Lepidoptera sequester or manufacture toxins which are stored in their body tissue, rendering them poisonous to predators; examples include the monarch butterfly in the Americas and ''Atrophaneura'' species in Asia. Predators that eat poisonous lepidopterans may become sick and vomit violently, and so learn to avoid those species. A predator who has previously eaten a poisonous lepidopteran may avoid other species with similar markings in the future, thus saving many other species as well.<ref name=Enchanted/><ref name="ANC">{{Cite book |last=Kricher |first=John |title=A Neotropical Companion |pages=157–158 |chapter=6 |chapter-url=https://books.google.com/books?id=Z3pgdvrSmG8C&q=defense+protection+butterflies&pg=PA158 |publisher=Princeton University Press |isbn=978-0-691-00974-2 |year=1999}}</ref> Toxic butterflies and larvae tend to develop bright colours and striking patterns as an indicator to predators about their toxicity. This phenomenon is known as aposematism.<ref name="Santos & Cannatella (2003)">{{cite journal |last1=Santos |first1=J. C. |last2=Cannatella |first2=D. C. |year=2003 |title=Multiple, recurring origins of aposematism and diet specialization in poison frogs |journal=Proceedings of the National Academy of Sciences of the United States of America |volume=100 |issue=22 |pages=12792–12797 |doi=10.1073/pnas.2133521100 |pmc=240697 |pmid=14555763 |bibcode=2003PNAS..10012792S |doi-access=free }}</ref>

Aposematism has also led to the development of mimicry complexes of Batesian mimicry, where edible species mimic aposematic taxa, and Müllerian mimicry, where inedible species, often of related taxa, have evolved to resemble each other, so as to benefit from reduced sampling rates by predators during learning. Similarly, adult Sesiidae species (also known as clearwing moths) have a general appearance that is sufficiently similar to a wasp or hornet to make it likely that the moths gain a reduction in predation by Batesian mimicry.<ref>{{Cite book |others=Marshall Cavendish Corporation |title=Insects and Spiders of the World |publisher=Marshall Cavendish |date = January 2003 |volume=10 |pages=292–293 |isbn=978-0-7614-7344-2 |url=https://books.google.com/books?id=uvdpiSQUuesC&q=clearwing+moths+mimicry&pg=PA592}}</ref>

Eyespots are a type of automimicry used by some lepidopterans. In butterflies, the spots are composed of concentric rings of scales of different colours. The proposed role of the eyespots is to deflect predators' attention. Their resemblance to eyes provokes the predator's instinct to attack these wing patterns.<ref name="Caroll">{{Cite book |last=Carroll |first=Sean |title=Endless Forms Most Beautiful: The New Science of Evo Devo and the Making of the Animal Kingdom |pages=[https://archive.org/details/endlessformsmost00carr_0/page/205 205]–210|isbn=978-0-393-06016-4 |url=https://archive.org/details/endlessformsmost00carr_0 |url-access=registration |quote=Butterfly eyespots defense. |publisher=W. W. Norton & Co. |year=2005}}</ref> The role of filamentous tails in Lycaenidae has been suggested as confusing predators as to the real location of the head, giving them a better chance of escaping alive and relatively unscathed.<ref>{{cite thesis |last=Heffernan |first=Emily |year=2004 |url=http://etd.fcla.edu/UF/UFE0004770/heffernan_e.pdf |title=Symbiotic Relationship Between ''Anthene emolus'' (Lycaenidae) and ''Oecophylla smaragdina'' (Formicidae): An Obligate Mutualism in the Malaysian Rainforest |publisher=University of Florida |degree=MSc}}</ref>

Some caterpillars, especially members of Papilionidae, contain an osmeterium, a Y-shaped protrusible gland found in the prothoracic segment of the larvae. When threatened, the caterpillar emits unpleasant smells from the organ to ward off the predators.<ref>{{Cite web |url=http://www.merriam-webster.com/dictionary/osmeterium |title=Osmeterium |publisher=Merriam-Webster |access-date=9 December 2009}}</ref><ref name="About">{{Cite web |url=http://insects.about.com/od/entomologyglossary/g/def_osmeterium.htm |title=Osmeterium |last=Hadley |first=Debbie |publisher=About.com Guide |access-date=9 December 2009 |archive-date=23 July 2008 |archive-url=https://web.archive.org/web/20080723145419/http://insects.about.com/od/entomologyglossary/g/def_osmeterium.htm |url-status=dead }}</ref>

== See also == {{Portal|Insects|Arthropods}} <!-- Alphabetical arrangement of links -->

* Differences between butterflies and moths * Glossary of entomology terms * Insect morphology * Lepidoptera * Morphology (biology)

{{clear}}

== Footnotes == {{Reflist}}

== External links ==

* [http://www.nhm.ac.uk/print-version/?p=/research-curation/science-facilities/analytical-imaging/imaging/high-resolution-sem/ultra-plus/examples/index.html SEM image of butterfly scale and its pedicel (third from top)]. * [https://web.archive.org/web/20100821233752/http://ngm.nationalgeographic.com/2010/09/insect-eggs/oeggerli-photography Exquisite castaways] – photo-feature on lepidopteran eggs by ''National Geographic''. * [https://web.archive.org/web/20080509135433/http://ngm.nationalgeographic.com/ngm/0205/feature3/index.html Uncommon vision] – photo-feature on moths by ''National Geographic''.

{{Insect biology}}

{{DEFAULTSORT:External Morphology of Lepidoptera}} Category:Insect morphology Category:Lepidoptera biology