How does luminescence work?

Can you answer this question?