A Scientific Hypothesis on why there are so many pyramids and what they do.

. It is possible that the Bosnian Pyramids and likely many other Pyramids accross planet Earth are multi-purpose; that one of those purposes is collecting naturally occuring energy flows in the earth's crust like a geo-magnet type of generator, then projecting that power (maybe it started underground as static electricity) into Earth's magnetic field to strengthen it, thus they help protect the life on Earth's surface from periodic Coronal Mass Ejections, and excessively strong radiation emitted from our solar system's Sun during solar-flares.

It appears to me that we might also soon verify this scientifically - with our current level of technology - so then this would not be some "new-agey hokus pokus," but verifiable and logically understandable phenomena.