Meaning

1 senses
  1. (idiomatic, vulgar)For no particular reason, just because it is fun or entertaining; or to relieve boredom.

Origin

Possibly from the act of shitting (i.e. nonsensical acts or farting) and then giggling as

Possibly from the act of shitting (i.e. nonsensical acts or farting) and then giggling as a result of it.

Wiktionary, CC BY-SA 4.0 · source

for shits and giggles — meaning, examples, forms, synonyms | Krumeto