We own a second home and rent it out for part of the year

Is the interest from the mortgage deductible on our federal tax return?