Chapter 7: The Insect World
By the How To Muslim team
"There is no creature on earth, nor a bird that flies with its wings, but they are communities like you." (Quran 6:38)
Most of us greet an insect with a rolled-up newspaper. The verse asks for something better. Look down into the grass, or up at the warm air over a summer hedge, and the Quran tells you what you are seeing there: communities. Each one has languages of its own, buildings of its own, and its own way of sharing out the work. Then comes the startling part. They are like you, in the intricacy of their organisation and the purpose in how they live, whatever their size.
Come and meet a few of them up close: a builder, a dancer, a hunter that aims at where its prey is going, a colony of chemists, a forger and a showman with an audience of one. Look closely at any one of them and you find specification, which is exactly what a designer leaves behind.
The honeycomb: an optimum written into matter
"And your Lord inspired the bee: 'Take homes among the mountains, the trees, and in what people build. Then feed on every kind of fruit, and follow the ways your Lord has made easy.' From their bellies comes a drink of varying colours, in which there is healing for people. Surely in that is a sign for people who reflect." (Quran 16:68-69)
Hold a slab of honeycomb up to the light and you are looking at one of the most economical structures in nature: a lattice of six-sided cells that stores the most with the least. That economy is a theorem. Varro, the Roman scholar, recorded it as a conjecture in the first century BC, giving words to something beekeepers had presumably always known. The proof had to wait until 1999, when the mathematician Thomas Hales showed that of all the ways to divide a flat surface into cells of equal area, the regular hexagonal grid uses the least total wall.
The margin is far from trivial. Enclose the same area with squares and you spend about seven and a half percent more wall than with hexagons; triangles cost about twenty-two percent more. Circles would use less wall than any of them, but circles cannot tile a plane. They leave gaps, and a gap in a comb is space that holds no honey and still has to be walked across. For anything that must cover a surface completely, the hexagon is the best answer available. Getting from Varro to Hales took us two thousand years. The bees, meanwhile, had never stopped building the answer.
Why should a bee care about a few percent? Because wax is costly. To make one kilogram of it, a colony burns through something on the order of six to eight kilograms of honey, a rough figure that goes back to measurements made in the 1940s. Each needless millimetre of wall has been bought with nectar hauled home one flower at a time. For a bee, building efficiently is survival arithmetic.
How, then, is the hexagon made? Watch comb-building closely and the cells the bees first raise turn out to be nearer to circles. Then the workers cluster, and the heat of their packed bodies takes the wax past its softening point, somewhere around forty-five degrees. Soft enough to flow, the wax settles into hexagonal boundaries under surface tension, the same physics that squeezes soap bubbles into hexagons where they meet. The bee has no need to know that the hexagon is best. Physics knows it for her. Every finished cell is a joint work of the animal and the laws of matter.
That partnership is where the wonder lives. Start with what the bee still has to bring. Glands that produce wax whenever building calls for it. Thousands of cells, all held to one size. Walls drawn down to a precise fraction of a millimetre. A comb angled upward by something like nine to fourteen degrees, a tilt long credited with keeping runny, unripened honey in its cells, though a 2025 analysis found honey does not dribble from downward-pointing cells anyway and argues the tilt shifts mechanical load onto the sheet of wax the two faces share. Whichever job it does, the bee has to hit the angle. And over it all, a colony that runs its own thermostat, holding the wax at just the workability the job needs: a little too cool and it won't flow, a little too warm and it won't hold.
Now look at the physics. The laws of matter are arranged so that the least wasteful shape is simply the one that emerges when you pack soft cells together and let them settle. The optimum was written into the world before the first bee ever used it, and the bee arrives carrying precisely the warmth, the wax and the sense of size that allow the optimum to appear. To me that is stranger, and finer, than any insect mathematician could have been. A builder fitted to the rules, and rules that hand the builder the best possible answer: both point back to the same source.
And then there is what all those cells are for. The verse calls it "a drink of varying colours, in which there is healing," and both halves of the phrase are there in the jar. Each colour is a record of the flowers visited: clover gives a pale and gentle honey, buckwheat a dark and forceful one, and manuka carries antimicrobial compounds that laboratories are still investigating. And the healing is there too. Honey is antibacterial, helps wounds mend, and supplies antioxidants. Each jar holds one season in one place, preserved by chemistry, equally at home on your toast and on your cut.
The waggle dance: an agreement held at both ends
A forager who strikes it rich does not keep the news to herself. She flies home and dances it. In the dark of the hive, on the upright face of the comb, she runs a figure-eight, and every part of it means something. Karl von Frisch spent decades cracking the code, and in 1973 it brought him a share of the Nobel Prize. Through the middle of the eight runs a straight stretch, and its lean away from vertical gives the direction of the food measured from the sun. Along that stretch she waggles, and the waggling goes on longer the farther there is to fly, at about one second per kilometre. How hard she throws herself into it tells her sisters how good the find is.
Notice the feat of translation buried in that. Outdoors, her route was an angle to the sun. Indoors, on a vertical sheet of wax with no sun in sight, she expresses it as an angle to gravity: a bearing taken from a light, reissued as a bearing taken from a pull. Her sisters run the conversion backwards as they leave, and they even allow for the distance the sun has crept across the sky since the dance started. Most of us struggle to read a map held upside down.
If this feels familiar, it should. In Chapter 3 the dolphins were calling one another by name, using sounds that resemble the animal they stand for about as much as the word "tree" resembles a tree. In Chapter 5 it was DNA, where chemistry allows the order of the bases but never chooses it. Here the same thing turns up as choreography. Nothing in the geometry of a waggle run leaning forty degrees off vertical carries the meaning "forty degrees right of the sun." Movement and message are joined by convention alone, and a convention does its job only when whoever sends and whoever receives are holding the same one.
This is where the problem of encoder and decoder starts to bite. The dancer must gauge the distance, work out the solar angle, judge the quality of the nectar, and render all of it as precise movement. Her audience has to take the angle off the dance, turn it into a flight heading, and adjust for a sun that keeps moving. Dancing a message nobody can read earns a bee nothing. Reading a message nobody ever dances earns her nothing either. One end of a code, on its own, is useless. Nor can physics hand over the convention. It supplies the sun and the pull of gravity, but not the agreement that a tilt on the comb means a heading in the field. That agreement has to be in place at both ends before the first dance pays for itself.
The travelling salesman: a pinhead against a hard problem
Ask a delivery driver for the shortest round trip through a list of addresses and you have handed him one of mathematics' most famous headaches, the travelling salesman problem. A bumblebee meets a pocket-sized version every time she works a patch of flowers. In experiments at Queen Mary University of London, Lars Chittka and his team spread several flowers around a field and watched the bees settle into a circuit very nearly as short as the shortest one possible.
She gets there the way you learn a new commute: badly at first, then better with every trip. On her first outings a bee meanders, covering something like fifteen hundred metres to visit the lot. Bit by bit she trims the detours, and after roughly two dozen trips her circuit has shrunk to about three hundred and thirty metres, where the best route a computer could find was three hundred and twelve. She got that close while testing only about twenty of the hundred and twenty possible orders. She felt her way across one corner of the problem to a good heuristic, a rule of thumb that lands near the optimum without proving it. A brain the size of a pinhead, taught by nothing but experience, closing in on a puzzle that makes large computers sweat.
Step back to the whole hive and it looks less like a crowd than a single organism. The queen supplies the eggs, and the pheromones she gives off shape what everyone else does. The drones have one job, which is mating. The workers, all of them female, move through a whole career as they age, starting as cleaners and nurses, going on to build and to guard, and finishing out in the fields as foragers. All summer they fan the nectar with their wings until just enough water has gone, then seal the thickened honey away for winter. There is no foreman, and no memo goes round. Thousands of insects still move as one.
The dragonfly: flying to where the prey will be
"Do they not look into the dominion of the heavens and the earth, and all the things Allah has created?" (Quran 7:185)
Now turn to the dragonfly, a hunter that engineers study with open envy. In the space of a second or two it can fly forward, stop dead, hover, slide sideways, back up and shoot off again. Each of its four wings has its own muscles, so the animal can adjust angle and timing one wing at a time.
Turn the wing edge-on and you find it corrugated, pleated into ridges and valleys, nothing like the smooth aerofoil of an aircraft. That looks like rough workmanship until you think about scale. To something as small and slow as an insect, air is thicker stuff than it is to an aeroplane, and a smooth wing at that size stalls easily as the flow peels away. In the valleys of a pleated wing, little rotating vortices are caught and held, acting rather like air bearings: the flow stays attached, and the wing keeps its lift where a smooth one would lose it. Even the shifting blues and greens are structural colour, made by nanoscale features that scatter particular wavelengths.
The most remarkable part of the dragonfly, though, sits inside its head.
It hunts by interception, flying to the spot where its prey is about to be. Engineers have a name for the strategy, because we use it too: proportional navigation, the guidance principle behind intercept missiles. Aim at where a target is now and you will always arrive a little late, so the dragonfly steers instead to keep the bearing to its target constant while both of them move. Keep that bearing fixed and a collision is guaranteed. Work by Anthony Leonardo and colleagues showed what this requires: an internal model that predicts both where the target is heading and how the dragonfly's own body will move, with corrections whenever the prey jinks.
Focus is the next problem: chase two midges at once and you will likely catch neither. Steven Wiederman and David O'Carroll found the dragonfly's answer, a single neuron called CSTMD1. Offer it two candidates and it commits to one, behaving as though the other had simply vanished, a kind of selective attention we usually credit to far bigger brains. Once the choice is made, descending neurons carry the target's direction, finely encoded, down to the wings. The eye registers at around twenty-five milliseconds and the wings respond by thirty to fifty, so the whole loop closes in under fifty milliseconds: a twentieth of a second from glimpse to course correction, in an animal with nothing like a central processor. Compound eyes with something like thirty thousand facets supply the images. The result is a hunter that takes its prey in flight roughly ninety-five times in a hundred, a hit rate no human hunter and few guided systems can claim. It repeats the trick dozens or hundreds of times a day, keeping the mosquitoes and midges in check.
The standard evolutionary story says this flight was shaped by hunting. Count what that story has to deliver at the same time. A visual system able to pick one moving speck out of a busy background. A brain that runs a forecast and revises it on the fly. Four wings under separate control, quick enough to act on the revision within milliseconds. Take any one away and the others are stranded. Give a brilliant predictive brain a set of clumsy wings and it can calculate the perfect intercept while the midge flies home. Give superb wings a brain with no targeting and you have an aerobatic display with no dinner at the end of it.
A biologist will reply that plenty of simpler fliers with cruder eyes make a living, so the in-between stages need not have been dead ends. Simpler fliers do get by, the way a bicycle gets you to work. The puzzle is this particular machine: forecasting circuitry, an attention neuron and four separately driven wings, fitted to one another so closely that they look built rather than piled up. A single neuron choosing its target, four wings turning toward a point in empty air: that is what a well-made guidance system looks like.
The ants: a society that speaks in chemistry
"When they came upon the valley of the ants, an ant said, 'O ants, enter your dwellings, lest Solomon and his soldiers crush you without realising.'" (Quran 27:18)
In the verse an ant sees danger coming and calls out to the rest of her colony. The scene belongs to the story of Solomon, and what it describes is real: ants live by signals and by coordination.
Inside the colony, everyone has a trade. Workers head out for food and patch up the nest. Soldiers stand guard, armed with outsized jaws or a spray of formic acid. The queen's chemistry keeps the whole society in order. The nest itself is a city with its own air conditioning: its shafts and chambers hold the temperature and humidity steady while the surface above swings between extremes. And all day long the workers move the young from room to room, chasing the narrow band of conditions a developing brood demands.
To say that ants leave scent trails undersells them badly. Their chemistry is a vocabulary, with different glands producing different messages. One set of compounds lays a route back from food, which others follow and strengthen as they go. Another raises the alarm, and within minutes the colony is defending itself. And the waxy hydrocarbons coating each ant's own shell work like an identity card, so nestmates know one another and an intruder stands out. A single chemical channel carries several distinct vocabularies, and every one of them is read correctly.
With it, a colony finds its way round an obstacle, builds a bridge out of its own linked bodies, and drags home prey no single ant could shift. Leafcutters are farmers, tending gardens of fungus. Weaver ants are tailors, stitching leaves into a nest with silk drawn from their own larvae. Army ants skip building materials altogether; their shelter is made of ants. And ants remake the ground itself. Over most of the planet only earthworms do more to churn and aerate the soil, and in the acid ground beneath conifers, where no earthworm can survive, the ants take first place outright. Remove them and the soil packs down, dead matter breaks down more slowly, and the food web starts to come apart. The earthworm may move more soil, but the ant is the one that turns up for work everywhere.
Where did teamwork on this scale come from? The standard reply is kin selection. The workers are all sisters, the reasoning goes, so when they help their mother the queen to breed, they are spreading copies of genes they carry themselves. The haplodiploid version sharpens the sums: a worker shares three quarters of her genes with a sister and only half with any offspring of her own. On that accounting, rearing sisters is the shrewder genetic bet.
It is a neat answer. It also leaves two things open.
The first is scope. Kin selection, at its best, tells you why cooperation pays once all the equipment is installed. Ask where the equipment came from and it falls quiet: the exact chemistry of a trail pheromone, the digging routine that finds the depth with the right humidity, the coordinated leaf-pulling of the weaver ants. Selection sorts by reproductive success, and whatever it sorts has to exist before the sorting starts.
The second comes from inside biology itself: the haplodiploid explanation has lost a good deal of ground on its own evidence. Termites are as thoroughly eusocial as any ant, and they are ordinary diploids, with no three-quarters relatedness to appeal to. Plenty of haplodiploid wasps and bees, meanwhile, carry exactly the same genetic arrangement and live alone: all the arithmetic of sisterhood, and no interest in the family business. So the three-quarters sum is neither required for eusociality nor enough to produce it. Much of this was argued in a 2010 paper in Nature by Martin Nowak, Corina Tarnita and E. O. Wilson. The reaction was fierce and the question is still open. Nature ran a defence of inclusive fitness the following year with a hundred and thirty-six signatories, and most of the field still stands with them.
Whichever side prevails, the episode tells you something. A truly tidy explanation of the sterile worker would not need a hundred and thirty-six authors to rally round it against three, least of all when one of the three, Wilson, had spent half a century as the leading authority on ants. Settled questions rarely need that many signatures. Whatever biology's fuller accounts may achieve, the specialists' own quarrel shows that the one-liner "kin selection handles it" is a much thinner answer than it sounds. Meanwhile the ants go on warning, guiding and recognising one another in a chemistry exact enough to carry meaning, and that vocabulary is precisely what a statistical account of spreading genes leaves unbuilt.
The leaf insect: a forgery down to the fungus
Disguise runs all through the insect world, and the leaf insect, genus Phyllium, carries it to an extreme. The body is flat and leaf-shaped, complete with a projection like a stalk and ragged edges that look bitten. Across its cuticle run branching lines like veins, along with blotches that copy the discolouration and fungal spotting of a real, imperfect leaf. Its manner is a leaf's too. It sways softly as though a breeze were moving it, lines itself up among the foliage, and when something disturbs it, it drops and lies motionless like a fallen leaf instead of running.
Camouflage pays at every step. A slightly greener, slightly flatter insect is a little harder to see and survives a little better, which makes it the textbook case of gradual improvement: a gentle slope with a reward at every stride. What makes Phyllium astonishing is how far up that slope it stands, and how many separate things had to climb it together.
Start with how deep the specification goes. A rough green blur would be camouflage of a kind. Phyllium goes much further: forged veins, imitation fungal spots, copies of the damage other insects do. Its disguise even carries fake evidence of the leaf's own past: the bite marks of feeders that never fed on it, the blemishes of a decay that never happened.
Then there is the fit between body and behaviour, which are inherited separately and yet serve one illusion. Give an insect a flawless leaf shape and let it scurry, and it will be seen at once, since motion is what a visual predator watches for. Let an ordinary-looking insect sway in the breeze and all you have is an insect behaving strangely. Shape and sway prop each other up, and the drop-and-freeze trick leans on both. Small steps could polish the body, and small steps could polish the behaviour, but every step on one side needs a matching step on the other, all the way up, and that lockstep is the hardest thing for an accidental account to supply. A forgery this complete, acted out by anatomy and instinct together, is the work of a forger.
The peacock spider: counting the information
In species such as Maratus lobatus, the male peacock spider has a flap on his abdomen that folds open into a fan of intense, symmetrical colour, blue and red and orange and white, laid out in patterns precise enough to look hand-painted. Much of the group has been catalogued in recent years by Jürgen Otto and David Hill.
Some of that blaze is optical engineering. Bor-Kai Hsiung and colleagues have studied patches of super-black cuticle on these spiders, with a microscopic structure that absorbs all but about half a percent of the incoming light, so that the colours beside them jump out by contrast. A jeweller uses the same principle when he sets a stone against a dark backing. The spider does it at the scale of a few micrometres.
Looking good is only the audition. He must also dance. He lifts his legs and waves them in set sequences, shuffles sideways in rhythm, tips the fan so that it catches the light at precisely the right moment, and all the while drums vibrations into the ground, which travel through the leaf litter to where she waits. Structural colour, choreography and a tremor in the earth: three channels playing together. She takes it all in and reaches her verdict. Either she accepts him or, now and then, she eats him. It is a demanding audience.
Choosy females can certainly push a display to extremes: favour the showier or better-dancing male for enough generations and ornament and ritual grow spectacular. The peacock spider's question is how much that process can be asked to deliver. Add up the bill. Symmetrical patterns laid down at the scale of light itself. A light-swallowing nanostructure placed exactly where it makes the neighbouring colour blaze. A dance routine in several movements. A drumbeat sent through an entirely different medium. And on the receiving end, a female nervous system wired to weigh the whole performance at once.
Experiments show what she is actually weighing. She responds to contrast and movement more than to colour for its own sake, and the vibratory song seems to work in part by catching her attention and directing her eyes to the visual show. In good light, mating success runs at about two thirds; when the light is poor, it halves. He needs his lighting as much as his costume. And the channels divide the labour: the drumming knocks at the door and turns her eyes, and the colour and the dance make the case once she is looking. That is a far more particular arrangement than shouting on three frequencies at once.
A refining process can tune a taste and a trait in step. Asking it to supply optics, choreography and the acoustics of leaf litter, all landing on one reviewer in the same instant, is asking a polisher to do an inventor's job. When I count the information on that little fan, a designer's hand is far easier for me to believe in than a run of fortunate refinements.
Communities like you
Take in the whole gallery. Physics hands the bee the best answer to a storage problem, and she arrives equipped to receive it. Her sisters read a dance that means nothing without a shared code. A dragonfly needs a twentieth of a second to turn four wings toward where a midge is going to be, ants keep separate chemical words for path, danger and kin, and on a twig an insect wears the blemishes of a leaf that never rotted, swaying to match. Down in the leaf litter, a spider drums out his overture for a critic who may yet eat him.
Communities like you, the verse said, and after an afternoon in their company the likeness is hard to miss. They talk, they build, they farm, they keep their nurseries at the right temperature and they hunt to a plan, in languages we have barely begun to read and with engineering we are still catching up to. The Quran asks for thought where most of us reach for the rolled-up newspaper. Give it that thought, and the dancer on the dark comb and the dragonfly turning toward a point in empty air say the same thing: they are signs, and a sign is made to point past itself, to the One who set it there.
References
- Quran 6:38, 16:68-69, 7:185, 27:18 — verses quoted in this chapter.
- Hales, T. C. (2001). "The Honeycomb Conjecture." Discrete & Computational Geometry 25 — proof (1999) that the hexagonal grid minimises total wall for equal-area cells. The conjecture was recorded by Varro in 36 BC.
- Honeycomb geometry: for equal cell area, square lattice ≈ +7.5% wall, triangular ≈ +22.5% versus hexagonal.
- Karihaloo, B. L., et al. (2013). "Honeybee combs: how the circular cells transform into rounded hexagons." J. R. Soc. Interface — bees build near-circular cells that flow into hexagons via wax surface tension.
- Wax economics (~6–8 kg honey consumed per 1 kg wax secreted) and comb tilt (~9–14° above horizontal) — standard apiculture. The wax ratio traces to Whitcomb (1946), following Huber (1814).
- Comb tilt: Oeder et al. (2025, PLoS Biology) — honey does not run out of downward-pointing cells; the tilt is argued to redistribute load onto the midwall, against the traditional anti-spill explanation.
- von Frisch, K. — decoding of the honeybee waggle dance (Nobel Prize in Physiology or Medicine, 1973).
- Waggle-dance distance encoding: roughly 1 second of waggle run per ~1 km of flight; receivers compensate for solar azimuth drift of ~15°/hour.
- Chittka, L., et al. (2010–2011) — bumblebees learn near-optimal foraging routes through trial and error over ~26 trips; a heuristic, not a computed solution.
- Bumblebee routing: Lihoreau, Chittka & Raine (2010, Am. Nat.; 2012, PLoS Biology) — route length ~1,500 m falling to ~330 m against a computed optimum of 312 m, sampling ~20 of 120 possible sequences.
- Kesel, A. B. (2000) — corrugated dragonfly wing profiles trapping vortices at low Reynolds number (Re ≈ 10²–10⁴).
- Dragonfly wing corrugation and trapped leading-edge vortices at low Reynolds number — insect-flight aerodynamics literature.
- Mischiati, M., Leonardo, A., et al. (2015), Nature — internal forward models and constant-bearing interception.
- Wiederman, S. D., & O'Carroll, D. C. — CSTMD1 selective-attention neuron. Leonardo, A., and colleagues (incl. Mischiati et al., Nature 2015) — predictive interception via internal models; constant-bearing (proportional-navigation-like) strategy; ~95% capture success. Compound eye ~30,000 ommatidia.
- Dragonfly visual-motor latency: ~25 ms to the head and ~30–50 ms to the wings (Olberg et al.; Lin & Leonardo, 2017, Current Biology).
- Ant exocrine chemistry: trail, alarm, and cuticular-hydrocarbon nestmate-recognition channels — standard myrmecology.
- Taylor et al. (2019, Ecosystems) — earthworms dominate soil turnover in most ecosystems; ants lead mainly in acidic coniferous soils below ~pH 4.3.
- Nowak, M. A., Tarnita, C. E., & Wilson, E. O. (2010). "The evolution of eusociality." Nature 466 — critique of inclusive fitness and haplodiploidy as the explanation for eusociality, part of a live debate within biology. Termites (diploid) are eusocial; many haplodiploid hymenopterans are solitary.
- Abbot et al. (2011), Nature — reply to Nowak, Tarnita and Wilson with 136 co-signatories defending inclusive fitness.
- Phyllium leaf insects — cryptic morphology (fake venation, leaf-damage and fungal-spot mimicry) plus swaying and drop-and-freeze behaviour (standard entomology).
- Otto, J. C., & Hill, D. E. — taxonomy and courtship of Maratus peacock spiders; multi-modal display including substrate-borne vibration.
- Hsiung, B.-K., et al. (2019) — Maratus super-black cuticle: microlens-bearing microstructures reducing reflectance below ~0.5% and enhancing colour contrast.
- Girard et al. (2018, Behavioral Ecology) — peacock spider female response driven more by pattern contrast than colour per se; vibratory song functions partly to direct visual attention; mating success ~2/3 in full-spectrum light, roughly halved under reduced lighting.