What is sugar waxing?

I have heard this is better than just shaving and I was wondering what it is and how you do it.