[Help needed]

What is the difference between CPA and pay -per -click?i am very much confused:(