"So eat of that upon which the name of Allah has been mentioned," meaning: that which has been slaughtered appropriately (dhabihah). This is because the polytheists of the Arabs used to eat carrion, blood, the strangled, the beaten to death, the fallen, the gored, and what wild beasts had eaten; so Allah prohibited all of that, except for that which was properly slaughtered.
﴿فَكُلُوا مِمَّا ذُكِرَ اسْمُ اللَّهِ عَلَيْهِ﴾ يَعْنِي: مَا أُدْرِكَ ذَكَاتُهُ؛ وَذَلِكَ أَنَّ مُشْرِكِي الْعَرَبِ كَانُوا يَأْكُلُونَ الْمَيْتَةَ وَالدَّمَ وَالْمُنْخَنِقَةَ وَالْمَوْقُوذَةَ وَالْمُتَرَدِّيَةَ وَالنَّطِيحَةَ وَمَا أَكَلَ السَّبُعُ؛ فَحَرَّمَ اللَّهُ ذَلِكَ كُلَّهُ، إِلَّا مَا أدْرك ذَكَاته.