Acoustics is used to diagnose and treat speech and language disorders by analyzing the acoustic properties of speech sounds.