We speak of memorizing as getting something ‘by heart,’ which really means ‘by head.’ But getting a poem or prose passage truly ‘by heart’ implies getting it by mind and memory and understanding and delight.