Are time-outs bad?

Is it child abuse? I told my pedi that I give my daughter time outs and she wasn’t happy about it… is this child abuse?