その動物は檻から出ようともがいた。The animal struggled to get out of the cage.Break it down Tatoeba Pitch this sentence on OJAD