芳心 is a literary/poetic term used specifically for a woman's heart or romantic feelings. The
芳 (fragrant/virtuous) character is classically associated with femininity and elegance. It would sound archaic or romantic in modern spoken Chinese — more common in literature, song lyrics, and period dramas.