idiom
know something by heart
把某事完全记住
Meaning
to memorize something perfectly
Example
She **knows all the poems by heart**.
她把所有的诗都背得滚瓜烂熟。