Hey guys!

I god really crazy trying to understand all the format types.
What is the difference between AVCHD or HDV and stuff like MPEG-2 or Containers like M2TS? How are they related?
For example I can open a project in Sony Vegas that will be HD 1080-50i that could be simmilar to AVCHD at the same settings and when I render the material into HDV 1080-50i format it says that the file type is MPEG-2 and that it is AVCHD Video... How to understand the difference between standards, containers, coding types and all those "smart" names... ?