What is the use of a timestamp in a database?

A timestamp in a database is used to track when a row was last updated or inserted, and is often used for conflict resolution in distributed database systems.