An orangutan is being rescued from captivity and taken to a sanctuary.