general purpose of local governments in California

In California, what is the general purpose of local governments, such as cities and counties?

A. Manage interstate highways, regulate foreign trade, and maintain weapons and training for security agencies such as Home Land Security. B. Manage fires, clean streets, and protect the health, safety, welfare, and overall quality of life of all who live within their jurisdiction. C. Regulate banks, alcohol and gun sales, print currency, and exchange intelligence information with various clandestine agencies. D. Protect the border, regulate interstate commerce,negotiate with foreign countries, and monitor the sale of prescription drugs, alcohol.