1. He saw a fly on his leg.

2. He saw the fly on his leg.
==================
Which one is grammatical? Are both okay? Do you have any difference between them?

Both are OK. There's no real difference.