PDF/X

I’m wondering if someone can explain the difference between the destination profile and the output intent profile when creating a PDF/X?

Thanks,