caprice

nouns

a sudden desire
"he bought it on an impulse"
is derived from