What is the function of ATP Synthase in the electron transport chain?

A. Allows for diffusion of ATP
B. Provides energy for moving protons
C. Phosphorylation of ADP
D. Shuttles electrons from one protein to another