Understanding different types of investments