Swallows are also known to use a technique called "hawking" to catch insects. Hawking involves flying high in the air and then diving down on insects below. This technique is often used by swallows to catch larger insects, such as dragonflies and butterflies.
In addition to catching insects in the air, swallows will also sometimes eat insects that are resting on the ground or on plants. They will typically land on a perch and then use their bill to pick the insects off.
Swallows are important predators of insects, and they play a vital role in controlling insect populations. They are also a beautiful and graceful sight to behold, and they are a joy to watch as they fly through the air.