

Brian and ganglia have distinct functions. Brain is a part of the central controlling unit, wherreas ganglia forms a part of the periphral nervous system. However, since in arthropods the nervous system is not very developed, so the gangloin forms a part of the brain itself instead of a separate peripheral system. So ganglion is a part of the brain itself.
