The basic of miles to how I understand it.
You get miles from purchasing DCS modules, Miles can be used to partially pay for other modules you purchase or pre order. I hope this is simple enough but if you don't understand fully here is a link https://www.digitalcombatsimulator.com/en/support/faq/bonuses/.