internal dns – how does public DNS servers resolve private domain names?

The team wants to setup InfoBlox DNS. I try to understand how can public DNS servers (google, cloudflare) resolve internal domains/subdomains? I assume only company internal DNS servers can resolve internal domains. Vice versa, I am not sure how can internal DNS servers resolve public internet domains. Please advise. Thanks!!