Idiom
An idiom is a type of figurative language. Saying that someone has a 'heart of gold' doesn't mean that they literally have a heart made out of solid gold, it means that they are generous and a very caring person. Here are some more examples of idioms: Wrapping your head around something, having your head in the clouds, break a leg, etc.
Hope this helps you out! :)