The difference between avi file format with mpeg file format?

Audio Video Interleave, known by its acronym AVI, is a multimedia container format introduced by Microsoft in November 1992 as part of its Video for Windows technology. AVI files can contain both audio and video data in a standard container that allows synchronous audio-with-video playback. Like DVDs, AVI files support multiple streaming audio and video, although these features are seldom used. Most AVI files also use the file format extensions developed by the Matrox OpenDML group in February 1996. These files are supported by Microsoft, and are unofficially called "AVI 2.0". AVI is a container. AVI means Audio Video Interleave. AVI contains only information that describes how to store the data in file and how to decompress the video and the audio (which codecs to use for these purposes). Typical AVI: the Video compressed with DivX, and the Audio compressed with MP3.
-----------
The Moving Picture Experts Group, commonly referred to as simply MPEG (.mpeg, .mpg, .mpe), is a working group of ISO/IEC charged with the development of video and audio encoding standards. Its first meeting was in May of 1988 in Ottawa, Canada. As of late 2005, MPEG has grown to include approximately 350 members per meeting from various industries, universities, and research institutions. MPEG's official designation is ISO/IEC JTC1/SC29 WG11.
---------------------
MPEG-4 Part 14, formally ISO/IEC 14496-14:2003, is a multimedia container format standard specified as a part of MPEG-4. It is most commonly used to store digital audio and digital video streams, especially those defined by MPEG, but can also be used to store other data such as subtitles and still images. Like most modern container formats, MPEG-4 Part 14 allows streaming over the Internet. The official filename extension for MPEG-4 Part 14 files is .mp4, thus the container format is often referred to simply as MP4. Devices that play .mp4 files are referred to as MP4 players. MPEG-4 is not a codec, and it is not a container