How to write a compare and contrast essay?

How to write a compare and contrast essay?
I need to make an introduction for my 5 paragraph essay and its about Hinduism and Buddhism.Please help………………

In the introduction, give background on the topic you are presented with. So, talk about how Buddhism and Hinduism were founded and their basic beliefs.

Then, smoothly flow into your thesis statement where you explicitly and specifically state what you are going to write about. State your three controls which will form your three body paragraphs here. You can talk about three topics that are compared and contrasted. Then, there is a conclusion– which makes it five paragraphs.

Your introduction is the most important paragraph so do a good job on it.