What's the difference between when and what time?

Dear Teachers,
I’m jatila who are learning English from you.
I want to know about opportunity and chance.
How Difference are they?
Where (when, what time, How) can i use it?
Thanks!