Race condition is a problem that can occur when multiple processes or threads access and modify a shared resource concurrently in a concurrent environ