Kosher Salt vs. Table Salt

What's the difference between kosher and table salt? It's all about the grain size. And both have their advantages in the kitchen.