Stack Exchange network consists of 182 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
When people upvote my comments, am I supposed to gain reputation from that?
In short, no.
You only get reputation from having your questions & answers voted for, and accepting answers on your own questions.