There are three types of dosha 1 जाति Jati dosha , good which do not meant for us like grass. 2 निमित्त nimitta dosha any reason or situation which makes the food not to eat like a lizard in pysum 3 आश्रय aashraya dosha , each of us are continuously releasing our energy outside and influence others , who has stronger energy he influence others. While cooking also we serve thereafter also eat the energy by which it is cooked, the mental state of cook matters alot, that's why we always Praise mother's cooked food because of her love and compassion with which she cooks for her children. There are some examples how Ramkrishna paramhans , Swami Vivekananda, Mahatma Gandhi, denied the food even without knowing who cooks it and later they found there state of mind was negative. A beautiful practice in our tradition SWAPAKA I.e. consuming self cooked food, spiritual seekers prefer this. सर्वे संतु निरामया 🙏