B stands for Bavaria
M stands for engine.
W stands for manufacturer
Originally BFW, Bavarian Aircraft Factory, and later BMW, this logo actually refers to the color of Bavarian flag plus the logo of Karl Karp's engine factory at that time, which is a combination of the two.
After many times in do or die, it still walks in the forefront of luxury car brands in the world.