Why are peanut allergies so common?

Why are peanut allergies so common?, How do healthy foods help prevent diseases?