el ingenio

masculine noun

1

device, contraption, gadget

"La policía encontró un ingenio sospechoso."

The police found a suspicious device.

2

wit, cleverness, ingenuity

"Ganó el concurso gracias a su ingenio."

She won the contest thanks to her wit.