The phrase
"to own the shares" means that you have legal ownership of a portion or percentage of a company. You have invested in the company and own a piece of it, which entitles you to certain rights and benefits, such as voting on company matters and receiving a share of any profits.
Full definition