Why do states require centers to be licensed?

What kind of centers?

basketball?
garden?
childcare?
medical?
math?
disease control
other?