Buying a second home for my college student to live in

@oldfort if this is a rental property, won’t any capital gains be taxable also?