White ants (termites) and cockroaches are not associated with formic acid production, ruling those two out first. Red ants are commonly cited as producers of formic acid, which makes this option tempting, but as per the answer key for this question the intended source is the house fly. Eliminating the other three choices in turn leaves house fly as the marked answer.