For purposes of this explanation, when I say 2.2, I mean the one in the 1993 Cavalier. Ecotec refers to the 2.2 Ecotec that you’re asking about.
The differences between these two engines is night and day. The 2.2 is a pushrod engine, meaning that it has a single camshaft, spun by a chain attached to the crankshaft, which causes 8 lifters to move up and down. Each lifter has a pushrod sitting on top of it, which in turn is connected to the rocker arms which open the intake and exhaust valves. It uses individual spark plug wires which I believe are controlled by a distributor for ignition, and is possibly throttle body injected, but may be port injected (meaning you have a fuel injector for each cylinder), I can’t remember off the top of my head. to the best of my knowledge, this engine has a block made of cast iron, along with the cylinder head, and is equipped with an external, spin-on oil filter.
The Ecotec, by comparison, is a DOHC engine with 16 valves (8 intake, 8 exhaust), meaning that it has a camshaft that controls only the intake valves, and a completely different camshaft that controls the exhaust valves. Just like the 2.2, the cams are spun by a chain attached to the crankshaft. The Ecotec uses COP, or Coil On Plug ignition, which in this particular instance is one large coil pack that has 4 spark plug boots coming off of it, rather than an individual coil for each cylinder. This engine is all aluminum with a canister type oil filter mounted roughly under the intake manifold.
There are tons of other differences between the two engines, but I can’t think of them all right now. Suffice to say that about the only things those two engines have in common is the number of cylinders (4), the type of fuel (gasoline), and the timing setup (chain).