It's used in a number of different situations, but its most common use is as fill during dialogue cuts: let's say you want to put two different pieces of dialogue together, but have a natural pause between them, room tone is necessary to maintain continuity.
In a study during World War II regarding comprehensibility in radio communications, radio static was less destructive to understanding an interrupted statement than no sound at all.