What are chlorine pills for?

Chlorine tabs are for use in a chlorinator - there's some that just float in the pool and some that are connected to the water line and so are "automatic". They are a slow delivery system to help maintain the chlorine level in the water between 'shocking' the pool.