I was studying the React Course/React guide, and I learned something new today about React.
I learned that Fragment is a built in React component that groups html elements (h1 tags, p tags, buttons, and any html element that can make up the web page.) together.
You only use the fragment tag when you want to group together html elements like h1, paragraphs, buttons and any html element that make up the webpage , and also when you don't need to style the container or section in CSS and also when you don't need to style the html elements as a group, but if you are going to style the html elements individually in CSS (buttons, h1, paragraphs etc.) then you can use the fragment.
I also learned that the fragment is written like this <> </>, and the html elements go between the opening and closing fragment tag.