The outcome of an execution depends on a particular order in which the shared resource is accessed.
Let's us look into an example of a race condition.