Some local governments have very limited powers and are mainly controlled by the central government.
Others are powerful enough to make their own laws, like individual states in the USA.