I heard that we can mine to earn more Bitcoin but I wonder How does Bitcoin mining work?
No you can't really mine as an average joe anymore.
Mining is extremely competitive and very complex.
If you don't have access to free electricity, or at least very cheap and don't own some top mining rigs, I recommend you to forget about that.
Safe that money and invest regularly in Bitcoin when you see the price dipping down.
Much less stress and you can learn a lot about the ecosystem meanwhile.