"Racing thoughts" refers to when someone's mind is filled with constant and fast-moving thoughts that may be difficult to control or slow down.