Difference between MQTT and UDP

Hello everyone,
I’m looking to use built-in network server using MQTT. As of all the information I got we can use MQTT or UDP. Are there any data rate differences? MQTT or UDP which transfer more frames per minute compared to other? If you have any other significant points to share, please let me know.
Thank you in advance.