It sounds like you are referring to glial cells, specifically ependymal cells, which line the ventricles of the brain and are involved in the production and regulation of cerebrospinal fluid (CSF).
Ependymal cells have cilia that help circulate CSF, which provides cushioning for the brain, removes waste, and helps maintain the balance of nutrients and electrolytes. Other types of glial cells, like astrocytes, also play a significant role in maintaining homeostasis in the brain, aiding in nutrient transport, and supporting the blood-brain barrier.
If you would like more detailed information about these cells or their functions, feel free to ask!