A branch is a version of code that we are working on, different from main code.
Two people working on a same file, if they are creating their own branch and editing the same file in those two different branches, they will not find any conflict between their work, as two different copies of their file will be maintained by Git.
The process by which we sync between work done on both the files, is called merging.