Peer review is a lengthy process that ensures what a journal publishes is featuring new ideas or discoveries, coming from a reliable source, and is a good fit for the intended audience of the journal. Along with ensuring the content is accurate and relevant, the peer review process also checks that the author's writing is clear and there are no spelling or grammatical errors and the format is correct.
For more information on the peer review process and how a journal publishes new articles, check out https://www.elsevier.com/reviewers/what-is-peer-review