Describe in detail how ATP is made using the electron transport chain. Include in your description the role of ATP synthase, H⁺, O₂, NADH, and FADH₂, and the electron transport chain in ATP production.