Why do schools block internet chat rooms?

They block chat rooms because first of all, you shouldn't be on there, and sometimes they transmit viruses or download harmful stuff onto the computer.