How does SMPS works?

Can you answer this question?