Banker’s algorithm is used to avoid deadlock conditions. It’s a deadlock avoidance technique. This algorithm checks whether the request made by a different process for a particular resource, is checking for a safe state or not. if the process is in a safe state then it allows the request otherwise reject the request.
so deadlock avoidance, option $A$ is correct.