Buying shares of stock is just another form of gambling disguised as investing.
If you are using a short term strategy like day trading then you are not investing anything . Some people buy stock for long term but sometimes people buy it for short term