traffic school

I just read in one of the forums that traffic school dispences with the ticket entirely,is this true? please explaine.an does it work with driving on susp. lic tickets???