An oracle takes data to a smart contract. Based on that data the smart contract will leap into action and complete the terms in the contract.