The term describes any action, from a simple transfer to a complex smart contract call, that is broadcast to a network's nodes, checked against consensus rules, and written into a new block. Once included, that data becomes part of the shared, append-only ledger that every participant can independently read and verify, rather than living in a company's private database.
Because every full node keeps its own copy of the ledger, on-chain records cannot be quietly edited or deleted after the fact; changing history would require rewriting every subsequent block and convincing the majority of the network to accept it, which is computationally impractical on an established chain like Bitcoin. This permanence is what gives on-chain data its evidentiary value: anyone can look up a wallet's balance, trace a coin's transaction history, or audit a protocol's treasury using a public blockchain explorer, with no need to trust an intermediary's word.
That transparency has spawned an entire discipline of on-chain analysis, where firms track metrics like exchange reserves, large-wallet ("whale") movements, and active-address counts to gauge market sentiment before it shows up in price. The trade-off is cost and speed: because thousands of nodes must validate and store every entry, on-chain activity competes for limited block space, pushing fees higher during congestion. Sensitive or high-frequency activity, such as gaming microtransactions, is often routed through faster off-chain or Layer-2 channels instead, with only periodic checkpoints settled back on the main chain.