What a share is
You are buying a piece of a business, not a lottery ticket.
A share is a small piece of ownership in a company. If a bank has 10 crore shares and you own 1,000, you own one hundred-thousandth of that bank: of its profits, its dividends and its value.
Two things make a share worth more over time: the company earns more, or people become willing to pay more for each rupee it earns. Most of the time, over years, the first matters more.
Practical: before buying anything, be able to say in one sentence what the company does and how it makes money. If you cannot, you are guessing.
For learning, not investment advice.