these are protocols name on transport layer TCP is reliable connection oriented and UDP is not reliable connection oriented. TCP protocols security is highly modified besides UDP is not high and hacker take chance to still user information from UDP protocls