Johnson Controls interview question

Explain the functioning of Bridge Rectifier