How do I know? Experience.
I tried patches, gum and lozenges, all of them pushed me back to vaping. The only way I could quit was cold turkey.
Nicotine gives me focus but also multi-day insomnia. There is a reason I was 58kgs until past my thirties.
Edit: this is 2011 (58kgs)