How does a 2x2 Rubik's Cube work?

How does a 2x2 Rubik's Cube work?