Papers are usually reviewed by ~3 reviewers who can ask for revisions. Reviewers are typically anonymous to the authors, although the authors are usually not anonymous to the reviewers. If the reviewers ask for revisions (most common), the authors can revise the paper. This can go back and forth numerous times.
Reviewers can be professors, PhD students, etc. and are paid by the journal for their time. There are many ways to manipulate the system. Reviewers can block or slow the publication of a rival, or they can suggest changes that benefit themselves (e.g. quid pro quo). Often this isn't so blatant and the line can be very blurry.
The publisher and editor typically don't care much about the politics and conflicts of interest.