Say you have 3 things (eg tasks), A-C. A must be done before B, and B before C. One would say that B is dependent on A, and C is dependent on B.
What if you want to say the opposite, like A is a parent of B? Parent doesn't quite sound right, nor does child. The "true" opposite of dependent is independent, but that means unrelated however A is related to B, because B is dependent on A, so that doesn't fit either.
Thinking about it more, saying "A is a parent to B, and "B is a child to A" makes the most sense, but it feels off.