Struggle; the act of writhing or floundering — vigorous efforts to escape or overcome a situation, both physical and mental.
暗闇の中で彼は必死にもがき、出口を探した。
In the dark, he struggled desperately to find the exit.
経営が悪化し、会社は生き残りをかけてもがき続けている。
With deteriorating finances, the company keeps struggling to survive.
魚が網にかかると激しくもがき始めた。
When the fish was caught in the net, it began to writhe violently.