An application binary interface (ABI) is a specification of how to call compiled code at the level of raw bytes. On Ethereum and other chains using the Ethereum Virtual Machine, the contract ABI lists a smart contract's functions, their input and output types, and the events it emits, usually as a JSON file produced by the compiler when a Solidity contract is built.
Wallets, block explorers and apps use the ABI to encode a call into transaction data and to decode the results. A function is identified by a four-byte selector, the first four bytes of the Keccak-256 hash of its name and argument types, followed by the encoded arguments. An ABI differs from an API, which describes how software components talk at the level of source code or web requests; the ABI fixes the exact binary layout that the on-chain code expects.
Ref 1070001094