Definition of “exactly” - Learner’s Dictionary

exactly

adverb uk us /ɪɡˈzæktli/
COMPLETELY CORRECT

A2 used when you are giving or asking for information that is completely correct:

What exactly seems to be the problem?
The train got in at exactly ten o'clock.
EMPHASIS

B1 used to emphasize what you are saying:

I found a dress that's exactly the same colour as my shoes.
AGREEMENT

B2 something you say when you agree completely with someone:

"Surely they should have told us about this problem sooner?" "Exactly."
not exactly

B2 used to say that something is not completely true:

"Do you live here?" "Not exactly, I'm staying with friends."
not exactly easy/new/clear, etc informal

used to say that a description is completely untrue:

Let's face it, we're not exactly rich, are we?

(Definition of “exactly” from the Cambridge Learner's Dictionary © Cambridge University Press)