What is the version of the following sentence with correct punctuation?

Get an overview of how stocks and the stock market works
Get an overview of how stocks and the stock market works.