Esophagus Problems

Is this oesophagus infection? when swallowing food it hurts in chest and the chest pain sometimes occurs too. In throat there is some mucous but no sore throat