Rental properties can make good investments, but they come with risk