The stock market serves as a vital component of the global financial system, performing several crucial functions. Primarily, it facilitates…