Process for preparation of terephthalic acid