I found this circuit online but is not sure how does it work. Can someone explain to me how it works?