A Demat transaction is a transaction where securities are transferred from one Demat Account to another. It can be a buy or a sell transaction, or a transfer of securities from one account to another.