Investing is investing money or assets into something that generates income or profits, such as stocks, bonds, real estate, or…