Optimistic concurrency in Firebase means you first read a document including its version number. Then you make changes locally. When you write back, you check if the version is still the same. If yes, the write succeeds and increments the version. If no, the write fails because someone else updated the document meanwhile. This prevents data conflicts and lost updates. The execution table shows reading version 3, updating to 4, and a later write failing because the version changed. This method helps keep data consistent when many clients update the same document.