In computer science, transaction processing is information processing that is divided into individual, indivisible operations, called transactions. Each transaction must succeed or fail as a complete unit; it cannot remain in an intermediate state. Since most, though not necessarily all, transaction processing today is interactive the term is often treated as synonymous with online transaction processing.