How does investing in stock work?

I am not really familiar with stock but, for example. If i buy a stock worth 10 dollar, and the stock rises with 10 percent the same year, so it will be worth 11 euro. Does that mean if i sell my stock i made a dollar profit?
10 answers 10