I get why  is taking over. Decentralized money. Big concept.

I don't get how *exactly* Bitcoin works.
An anonymous genius released digital money into the electrical grid and servers solve a math equation to "mine" the Bitcoin out? 

It's some voodoo miracle