To find errors or mistakes within their work.
For instance, students make peer reviews for essays and papers to find mistakes and errors created within their writings. Scientists do the same for their work; they peer review to search for any possible errors and also to see if the work is replicable.
Therefore, the reason scientists peer review each other's work is to check for errors and further solve them before publishing and further research.
Hope this helps!