Understanding which types of investments are subject to taxes and which are not is essential for effective tax planning.