A cold is an infection caused by a virus. Allergies are your immune system's reaction to a substance like pollen or pet dander.
https://onlinemedicalclinics.com/allergy-vs-cold/