I collected this specimen along the coast of southern tamilnadu under the rocks. It looks like solitary ascidian. Its so soft, bright red colour with dots all over the body and in one end mouth opening like appendages was present.
It is very hard to identify a colonial ascidian from a photo - you have to slice them and see if there are zooids in them. Ascidians do not have appendages, so if you saw appendages on the open end, then it is likely a sea cucumber, as suggested above. It is on top of two different colonial ascidians, though, the white one and the gray one in the background.
Impossible to provide a positive identification from a single image To demonstrate the uncertainty level of the the above suggested identifications consider the fact that they range across phyla.
I agree with some of my colleagues above: it could be a holothurian or an ascidian. If the yellow pale projections are tentacles, it's probably a holothurian (more probable); if you find two siphons, an ascidian!