Verb (5-dan, く, intransitive)
Usually written in kana
1. to struggle; to writhe; to wriggle; to squirm
もがいても外れそうにはない。Even if I struggle, it doesn't seem like it will come off.
2. to act frantically; to make desperate efforts
けれど今は、この環境から抜け出そうともがいている。But now, I am struggling to escape from this environment.