Block production
When a transaction occurs, the data is submitted onchain, and the user pays some gas for the privilege to submit and have the chain respect the data they have posted. When it's posted to the network, it is bundled with other transactions that happened in the same period of time and is appended to the head of the blockchain.