What is a primer?What is its role in PCR?

A primer is a small segment of DNA the binds to a complementary strand of DNA.
Primers are necessary to start the functioning of DNA polymerase enzyme and, therefore, are necessary in polymerase chain reaction.