Laptops as a 'rule of thumb' are not 'upgradeable' that way for 'off the shelf' systems, unless you buy into a special model series that has 'some' upgradable parts. CPU is NOT one of them, because they are actually SOLDERED to the Motherboard.
Secondly ANY change to the CPU or Motherboard immediately makes your Dell (OEM) copy of Windows FAIL, because it is coded ONLY for that hardware configuration you bought. You would also have to buy a brand new copy of Windows and then wipe and reinstall everything from scratch.
Lastly, unless you spend $1200 or more on a laptop, NONE of the laptops generally sold are 'gaming' laptops, so even swapping the CPU for a i7 wouldn't make your 'gaming' better if that was your intent. You want to mobile game, you have to pay HEAVY for that privilege, there is no 'shortcut'