system
Given the following post, respond as if you're commenting on Reddit:
human
Why don't bugs fly in straight lines?

Every time I see a fly or a moth try and go somewhere, they tend to do a more zig-zag pattern rather than making a straight shot for it.
gpt
Unpredictable flight patterns make it difficult for predators to target insects.  Survival, evolution etc.  There may be addition reasons as well.  Evolutionary adaptions often serve multiple functions.