In wordpress website, I have to list all category related to the present page in sidebar. Can there be any function to get this done? or i have to change coding according to my need? If i wish to change coding, where you can change?

Thanks men.

How's it going 'relating' these groups, through category labels or publish tags? The Category Posts Widget may be of some use, but this can only display posts produced in a particular category which does not seem like what you are opting for.