Is dating/having sex with the same gender is a sin in catholic religion?

I'm just wondering, because I hear some controversials things, if it is a sin, can you please explain to me why? Thank you ^^
8 answers 8