Don't fully understand

Hello,

With my network set up, I don't fully understand how dnsmasq on Pi-hole integrates in my environment. My network topology is as such (incoming):

Internet > FW/Router/DNS server > PiHole > LAN

I have an existing DNS server, which I set during the Pi-hole install, however Pi-hole still needs dnsmasq enabled? Is somebody able to clarify why dnsmasq is still required if I already have an existing DNS server?

Thanks,
Craig

Pi-hole is build on top of dnsmasq and lighttpd.
DNS hostnames that are on the blacklist (ads) get diverted/redirected via DNS (dnsmasq) to the IP address of the Pi-hole lighttpd service that will show a semi blank page instead of the real ad.
Pi-hole would not know how to configure other DNS server software for the redirecting ... yet.