Title committment vs Title insurance - whats the difference?

Can someone tell me the difference between getting a title commitment and title insurance? Do you get both at closing? Who usually pays for each (buyer or seller)?