used when somebody has almost had an accident, broken something, etc. (险些出事故或造成小失误时说)哎哟 used when you have done something embarrassing, said something rude by accident, told a secret, etc. (做了尴尬事或失言后说)唉
Word Origin1920s: probably an alteration of upsy-daisy; compare with oops.