The whole focus of mining is to accomplish three things:
- Provide bookkeeping services to the coin network. Mining is essentially 24/7 computer accounting called 'verifying transactions'.
- Get paid a small reward for your accounting services by receiving fractions of coins every couple of days.
- Keep your personal costs down, including electricity and hardware.