
Hit the nail on the head
Figurative Phrase
Used metaphorically to mean understanding something perfectly, not about actual nails. 
Positive Connotation
Expresses praise or acknowledgment of someone's precise insight or correct answer. 
Non-literal Compliment
It's a non-literal way of giving someone a compliment for being correct or accurate. 