Section 25.(20) To provide for the organization of a fire department, and the control and government thereof; to establish fire limits, and to do all things necessary for the prevention or extinguishment of fires.