Here the tag <p> has been used for what?

the tag <p> in the body used for what? Can I use only <body> tag ?

An HTML document is a tree of elements, including a head and body, headings, paragraphs, lists, etc.
Hypertext Markup Language

Grouping content – HTML5

Notice that the section is Text-level semantics.

Click on the link for the p element.