noun
friend and foe; both sides
Refers to both one's own side and the opposing side collectively, often in contexts of conflict, competition, or distinction between groups.
戦場では敵味方の区別がつかなくなることもある。
On the battlefield, it can become impossible to tell friend from foe.
このゲームでは敵味方が入り乱れて戦う。
In this game, allies and enemies fight in a chaotic mix.
味方 means 'ally' or 'supporter', whereas 敵味方 refers to the combined concept of both sides.
Compound of 敵 (てき, 'enemy') and 味方 (みかた, 'ally'). The reading みかた is a rendaku form of かた (方).