It is advised to put oil on stagnant water to prevent the breeding of mosquitoes. This is because
1
mosquitoes are repelled by oil
2
mosquitoes are killed by oil
3
mosquitoes get stuck in the layer of oil
4
oil cuts off oxygen supply, thereby stops the breeding of mosquitoes