Give me a detailed explanation of how blockchain technology works, using at least 500 words, and include a postscript starting with "P.S." In your explanation, highlight at least three sections using markdown.

user