Generates high voltage.
The switch pulls a pin high so a esp or other controller should be able to switch that.
Would recommend to cast it in epoxy (potting) to make it last longer and place it into a metal case for shielding.
scroll down on the product page for schematics.
https://www.banggood.com/High-Voltag...ElectronicsPop