Define race condition.
When several process access and manipulate similar data concurrently, then the outcome of the implementation depends on particular order in which the access takes place is known as race condition. To avoid race condition, only one process at a time can manipulate the shared variable.