The spark plug is needed to ignite the gasoline in the engine. For this, it has two electrodes. A spark jumps between them and ignites the gasoline.
This happens in the cylinder block, so the plug has to screw into the cylinder head. It has a thread and flats so that the spark plug wrench has something to grip. On the opposite side, the plug has a terminal protected by an insulator.
Let's start drawing it step by step:
First the electrodes and the thread. Then the metal body with the flats. Next the insulator and the terminal.
The spark plug is ready.
