I oftenly see rock or metal bands playing on carpets while performing on stage or on studio.
It's nice to see, but is there a reason for these carpets? Is it for a better sound?
For an example, here's Foo Fighters live on studio ON carpets.
Music Fans Stack Exchange is a question and answer site for music historians, critics, and fans. It only takes a minute to sign up.Sign up to join this community
Practically, it offers a few things:
For drummers: A place to keep your drums in relatively one place. The louder the drummer, the worse they move and shimmy around. Having a carpet/thick rug the feet can dig into helps with this movement.
For other performers: I always appreciated a rug underneath me as a guitarist (or any performer, really) because it softened the blow to my feet of standing for hours at a time in (relatively) one place.
Sound Absorption. It does help with reflection and bass response, as noted in other answers.
Aesthetically, it offers something much more important:
Greg Lake, of Emerson Lake and Palmer, had a carpet onstage to compensate for his fairly simple bass rig. Emerson and Palmer had far more complex rigs, so Lake's carpet was his own ostentatious touch onstage. I imagine this has been copied elsewhere.
More practically a carpet will reduce footstep noise from telegraphing up microphone stands.
I think there's a good reason for that: ground issues. Prevents electrocution if something fails. With a carpet making a layer, your feet never really touch and connects with the ground. Probably this came from a time when equipment had more problems with ground. But with security, even today, it's never enough. You and your pedals are in a protective layer. You need to understand and read more, because, for example, there was a time I was playing bass guitar in a poor place without ground (illegal, house without license to be built), off course, an illegal electrical installation, and when I touch the wall... I felt the current flowing. Was not big deal... but it could be bad. So, rubber shoes are ok, never touch anything, wall etc. Carefull with the mics, make sure about ground in the equipment. But there are many reasons above, like protect the equipment from touching a bad floor, reverb issues, cleaning issues and others also wich I'm not sure, but I won't discard. Stay safe!
Lots of musicians used them so that they would have the same surface at every tour stop, there are some pretty gnarly venue floors out on the road which ends up wearing down on feet. Especially with all the hallucinogens present in the 60s and 70s it was probably really comforting having the same surface everywhere you played.