what happens when A and B trys to login to a website at once? [closed]

If Mr. A and B is trying to create account on a website at once, how does the website handles the values of each users? Will it overwrite one over another? If not, how does it hold the values of the different users?

I’m finding it difficult to understand how this works.