House flies lay their eggs in decaying organic matter like trash and animal feces; fruit flies lay their eggs in fruit and drain flies lay their eggs in drains.