The buzzing sound and chemical-type smell are not typical and could indicate a potential issue with the appliance's cooling system.
When a refrigerator fails to cool properly, it can lead to spoilage of food items stored inside. If the items in both the refrigerator and freezer were not cold, it's possible that the food inside may not be safe to eat.
For your safety and the safety of others who might consume the food, it is best to err on the side of caution and discard any perishable items that may have been affected by the temperature increase in the refrigerator.
As for the buzzing sound and chemical smell, these could be signs of a refrigerant leak or some other malfunction within the appliance. In any case, it's essential to have the refrigerator inspected and repaired by a qualified appliance technician as soon as possible.
Additionally, if you feel uneasy or experience any physical symptoms like dizziness, headaches, or difficulty breathing, it's crucial to seek fresh air immediately and consider seeking medical attention.
Remember, this is not professional advice, and I recommend contacting a refrigerator repair technician to assess the situation properly. They can diagnose the issue and advise you on the best course of action to ensure your safety and the functionality of the appliance.