Compensation, benefits and perks

What is the difference between compensation, benefits and perks. How do these three (3) terms benefit employees in an organization?