Historically, most unionists in Ireland have been Protestants and most nationalists have been Catholics, and this remains the case.
Both unionism and nationalism have had sectarian and anti-sectarian elements.