The VIE structure works through a web of complex legal agreements. An offshore entity, usually incorporated in a tax haven like the Cayman Islands, controls the business operator in China through contract agreements, instead of direct equity ownership.