Mine has two wires coming out of it. You attach each one to a spark plug and put the plug wire back on top of it. You can do it on modern cars as long as you can get under it.
Most cars today do not have accessable spark plugs. Spark plug replacement runs around $400 for labor on some cars.