What is the rule for using they rather than its.

Thank you.