The Text and Media Resource were previously called the Label resource in Moodle versions prior to Moodle 4.1.
They are a type of resource in Moodle that allows us to place content directly on the front course page, as opposed to creating a link to takes users to another view. Text and Media can be used to help us format the course page, emphasize certain pieces of information, and (embed information not otherwise available in Moodle.)
A Text and Media Resource will look much like a Section Header within a course but you are able to move it around or duplicate it independent of a week or topic.