What is stock market and how it works?