I believe you are correct; OD&D is the holmes/moldvay/etc. books that existed before AD&D, but I'm not certain.
In theory they catered to different playstyles, in practice it was largely to escape paying Arneson royalties.
OD&D is the original 1974 release co-authored by Gygax and Arneson