system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why is it that we're cautioned not to eat raw egg, but it's perfectly fine eating aiolis like mayonnaise when the egg yolk they use is raw?
gpt
Most bacteria is found on the outside of the egg shell, and only contaminates the white and yolk if there is a break in the shell.  If the eggs are properly washed, and did not contract any bacteria while forming in the chicken, there's little to no risk of illness from eating them raw.