Allergies happen when the immune system starts overreacting to other things which would not usually make you sick. These can include dust, pollens, pets, and as you mentioned, foods.
For example, in someone who is not allergic to cow's milk, the immune system doesn't react when they drink the milk.
But if you are allergic to cow's milk, when you drink it your immune system overreacts and can cause you to have a rash, swelling or trouble breathing.
PASSING DOWN ALLERGIES
If there are people in your family with allergies, such as asthma, eczema, hay fever or food allergies, then you are more likely to have allergies too.
This means that allergies may be in the genes that are passed down from parents to children, just like there are genes that pass down the colour of your eyes and hair.
Some foods commonly cause allergies, such as cow's milk, egg, wheat, nuts and shellfish.
It may be that the age when you first try these foods can affect whether you go on to become allergic to that food, and a lot of research is happening to figure out if that is true.
Over the next few years, I think we will understand this question better, and hopefully be able to make food allergies less common.
Hello, curious kids! Have you got a question you'd like an expert to answer? Ask an adult to send your question to us. You can:
* Email your question to curiouskids@theconversation.edu.au
* Tell us on Twitter by tagging @ConversationEDU with the hashtag #curiouskids, or
* Tell us on Facebook
Please tell us your name, age and which city you live in. You can send an audio recording of your question too, if you want. Send as many questions as you like! We won't be able to answer every question but we will do our best.
This article was originally published on The Conversation. Read the original article.