The engine number is stamped on the engine block as shown in the drawing.
The VIN is the number used in registering your vehicle and in all legal matters pertaining to its ownership, etc.