Sort of car related- air compressor question

I used to drain mine but it was a hassle and I’ve found the tanks last longer than the compressor. So I just have a water trap to keep the lines clean.