Some flies are very colorful. 
Some flies are very colorful. 
Most of these flies eat plants. The mothers lay eggs inside living plants. The babies hatch and find food there. They might eat leaves or seeds. They can even live in roots.
Some flies can hurt our food. They can damage crops like olives. They can also hurt celery. This can cause big problems for farms.
Other flies can help us. Some flies eat weeds. This helps keep the plants healthy. It is a way to help farms without using sprays.
These small flies are very busy. They play many roles in nature.
Tephritidae are a large family of flies. People often call them fruit flies. Some people call them peacock flies. This is because they have bright, colorful markings. 
These flies are small. They are usually between 2.5 and 10 mm long. Many species have wings with pretty patterns. These patterns can be yellow, brown, or black. Some flies even look like wasps. They do this to stay safe from predators.
Most of these flies eat plants. Female flies use a special part called an ovipositor to lay eggs. This part acts like a tiny tube. The eggs go inside healthy plant tissue. When the larvae, or baby flies, hatch, they find food right there. They might live in leaves, stems, or fruit.
These flies are very important to farmers. Some species can ruin entire crops. For example, the olive fruit fly can destroy all the olives in a crop. Other flies can actually help. Some species eat weeds. This is called biological control. It helps farmers protect their plants without using many sprays.
Tephritidae are a large family of flies often called fruit flies. They are different from the common fruit fly used in science labs. There are nearly 5,000 different species in this group. They live in almost every part of the world. Many people call them peacock flies because of their bright colors. This name comes from their beautiful and colorful markings. 
Most of these flies are small, measuring between 2.5 and 10 mm. They often have wings with patterns of yellow, brown, or black. Some flies even use mimicry to look like wasps or spiders. Mimicry is when an animal looks like a dangerous creature to stay safe. This helps them avoid being eaten by predators. Their bodies can be white, yellow, or brown.
The way these flies live involves a very specific cycle. Most tephritid flies are phytophagous, which means they eat plants. A female uses a tool called an ovipositor to lay eggs. This tool is like a tiny tube that reaches into healthy plant tissue. When the larvae, or baby flies, hatch, they find food immediately. They might grow inside leaves, stems, seeds, or even roots.
These flies are very important to farmers and the economy. Some species, like the olive fruit fly, can ruin 100% of an olive crop. The Queensland fruit fly causes over $28.5 million in damage in Australia every year. However, some flies can actually help farmers. Some species eat weeds like starthistles. This is called biological control, where one living thing helps manage another.
Scientists study these flies all over the world. They use many different ways to manage them. Some farmers use pesticides to protect their crops. Others use special baits or even sterile insects to control the population. This is part of integrated pest management. Researchers also look at the tiny parts of the flies to tell them apart. This helps us understand how to protect our food and our planet.
Tephritidae is a large family of flies commonly known as fruit flies. This group is distinct from the Drosophilidae family, which contains the common fruit fly used as a biological model organism. There are nearly 5,000 described species within the Tephritidae family. These species are organized into almost 500 different genera. Because scientists are constantly using genetic analysis and new descriptions, the taxonomy—or the way we classify these flies—is always changing. 
Many people call these insects peacock flies. This name refers to their elaborate and colorful markings. The scientific name Tephritidae comes from the Greek word *tephros*, which means "ash grey." These flies are found in all biogeographic realms across the entire planet. They vary in size from 2.5 mm to 10 mm. Most species have wings with patterns of yellow, brown, or black. Some species even display Batesian mimicry. This is when a harmless animal mimics the appearance of a dangerous one, such as a wasp or a jumping spider, to avoid being eaten.
The physical structure of a tephritid fly is quite specific. They have a hemispherical head and a broad frons, which is the area between the eyes. Their wings feature a subcostal vein that curves forward at a right angle. The female possesses a specialized organ called an ovipositor. This is a telescopic structure used to deposit eggs. Most tephritid larvae are phytophagous, meaning they feed on plant matter. When the female uses her ovipositor to place eggs into healthy plant tissue, the larvae hatch directly on their food source. Depending on the species, these larvae may develop in leaves, stems, flowers, seeds, fruits, or roots.
Tephritid flies are divided into several distinct subfamilies. The largest group is Tephritinae, which contains 209 genera and 1,859 species. Other major subfamilies include Dacinae, with 1,066 species, and Trypetinae, which has 1,012 species. There are also smaller groups like Phytalmiinae, Tachiniscinae, and Blepharoneurinae. Some genera, such as *Oxyphora* and *Stylia*, do not fit into any specific subfamily. This classification helps researchers understand the evolutionary relationships between different types of flies.
These flies have a massive impact on global agriculture. Some species are highly destructive pests. For example, the olive fruit fly (*Bactrocera oleae*) feeds only on olives. It has the ability to ruin 100% of an olive crop. The Queensland fruit fly (*Bactrocera tryoni*) causes more than $28.5 million in damage to Australian fruit crops every year. Other notable pests include the Mediterranean fruit fly, or Medfly, and the Mexican fruit fly. These insects can cause millions of dollars in expenses for countries trying to control them.
However, not all tephritid flies are harmful to humans. Some species are used for biological control. This means they are used to manage other unwanted species. For instance, certain species in the genus *Urophora* help control noxious weeds like starthistles and knapweeds. The larvae of *Chaetorellia australis* can consume the seeds and flower ovaries of yellow starthistle. This reduces the plant's ability to spread. Using these flies as natural control agents can help reduce the need for chemical pesticides.
Because these flies are found worldwide, they are a major focus of scientific study. Researchers use many different methods for pest management. They might use conventional pesticides, but these can have a negative impact on the environment. Instead, many use integrated pest management. This includes using toxic food baits or the male annihilation technique, which uses pheromones to attract and kill males. They also use the sterile insect technique. This involves releasing sterile flies to reduce the overall population of the pest.
🖼️ Images & Media (3)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.