Sonication is performed to thoroughly disrupt cells and randomly shear nucleic acids to increase efficiency of their pulldown, hence improving detection sensitivity. It is recommended and sonication conditions have to be optimized depending on the number and cell type used. Useful blogpost: Tips for optimizing RNA affinity purification.