its a very general question, almost as general as how long is a piece of string. its like phat sam said basically, you need to figure out what the compressor does and it will all become clear. if you want to prevent a channel from clipping without lowering the volume, you can stick a compressor on there, theyre great for that, we normally do it on the sub, cos it varies in velocity quite a lot when you play a melody.