Neem oil acts as both an insecticide and a fungicide, effectively controlling a wide range of garden pests while being safe for beneficial insects.