A smart contract is a self-executing program deployed on a blockchain. On TON every account (including a user wallet) is a smart contract.
Contracts are written in FunC, Tact, or Tolk → compiled to TVM bytecode → deployed as a BoC at a deterministic address. After deployment, contract behavior is immutable (unless the code includes upgrade logic).