basically the whole bitcoin system needs checks for cheating, validating, etc, for this they need calculatingpower, this calculating power is provided by these miners. every time a miners computer solves a mathematical problem they get bitcoins as a reward, this is really simply said.