Neurocysticercosis occurs when humans ingest the eggs of Taenia solium, which hatch in the intestine and release oncospheres. These oncospheres penetrate the intestinal wall and migrate through the bloodstream to various tissues, including the brain, where they develop into cysticerci. The CNS involvement is what defines neurocysticercosis.