How to Add, Remove and Toggle classes by JavaScript and jQuery?

How to Add, Remove and Toggle classes by JavaScript and jQuery?