It's essentially a AC to DC Rectifier but I replaced the diodes with light emitting diodes so you can see the path electrons take. Plus this way looks nicer then just regular diodes. I added the transformer for no reason in particular, just thought it would look cool. You could have done this without the transformer.