Compressor is a very crucial part of a DAW and is a super helpful tool which enables you to compress any instrument. Drums could be compressed by mixing them and by turning down the speaker volume. Making the compression decisions based on mixing at low volume levels will make the mix efficient. So the main idea is while compressing the drums if the drum sound could be made punchy and pumping at low volume levels it is going to be super easy for them to sound interesting at that normal listening level.