What is the purpose of using the <br> tag in PHP code?

The <br> tag in PHP code is used to insert a line break in the output of a webpage. This is useful for creating visually appealing layouts or separating different pieces of content. By using the <br> tag, you can control the spacing and formatting of text on a webpage.

&lt;?php
echo &quot;This is line 1&lt;br&gt;&quot;;
echo &quot;This is line 2&lt;br&gt;&quot;;
echo &quot;This is line 3&quot;;
?&gt;