The substantia nigra are located in an area of the brain around
the lateral ventricles known as the basal ganglia.
This is an addition to the above-mentioned answer. To be more
specific, substantia nigra lies in the midbrain, dorsal to the
cerebral peduncles.