An oracle is a third-party service that provides smart contracts with external information, enabling them to interact with real-world data. Oracles fetch and verify data from outside the blockchain, such as prices, weather conditions, or sports results, and feed it into smart contracts for execution.