Black rods are the same substance as black zetsu.
It controls however it pierces
And Madara specifically put his chakra/power through those rods inside Obito.
Giving Obito Madara's chakra.
Nagato used it to put his chakra through it, giving each dead corpse rikudou techniques.