system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5:why is under cooked beef safe to eat but under cooked chicken harmful?
gpt
Well first, "safe" is a relative term. No uncooked meat is completely safe.  However, beef is generally considered safer than uncooked chicken because some chickens in the US carry salmonella. It's the same reason that you aren't supposed to eat raw eggs or uncooked cookie dough. 

However, some other countries don't have a problem with salmonella like in the US and so in Japan, raw egg is used as a topping and half-cooked "onsen" eggs are sold to be eaten as is even in convenience stores.