The gadfly plays a role in the myth of how Bellerophon loses Pegasus and the gods' favor. Bellerophon attempts to ride Pegasus to the top of Mt. Olympus, arrogantly believing himself worthy of entering the realm of the gods.
The gadfly represents temptation and pride, which ultimately leads to Bellerophon's loss of Pegasus and divine favor.