Torrent question

When using torrents what is the difference between public and UDP?