When you use words that are sounds, like boom, bang, kaboom, etc.
Onomatopoeia is a figure of speech where words mimic the sound they describe, such as "buzz" or "clang." It is often used in literature to create vivid imagery or to convey sound effects realistically.
Toot! Toot!