A spark plug is used in internal combustion engines to ignite the fuel/air mixture by providing a high-voltage spark. It is located in the cylinder head and creates a spark across a gap to ignite the fuel mixture, which drives the engine's pistons and produces power.