What is the definition of a stray heart?

It's about how people keep trying to be perfect or in song terms "Keep searchin' for a heart of gold". And they'll do loads of thing to try and get it "