Pregunta de entrevista de Halborn

How does a transaction in Solana work?