Sexual harassment?

I was looking at a poll that was asking about sexual harassment. I answered no but the majority had said yes. I was shocked. I thought sexual harassment was like rape but I read the comments and and it can be something like a cat call. That made me feel so uncomfortable. I’m honestly just confused like if I guy says your hot and asks for your number is that sexual harassment?