please help me find literary techniques in this sentence.

-(whether my hearts say to stop or keep on going.)

Can your heart speak?

Which literary element is about giving human traits to non-humans?

literarydevices.net/

thank you