Offical Definition of "Transaction". Activity Trends verification questions

What is the official definition of "transactions " with respect to database activity. It is my understanding it’s any change in a database including replication correct? I’m sure that’s what it is I just want to verify. Also when activity is completed. what is the time frame when activity is recording. In other words what time interval are those transactions done when activity trends are recorded.