Agree with the previous answers. To further explain sitcom (situation comedy), it's usually a TV series with many episodes. The story is usually based in the same location, for example the same house, or the same bar, or the same office, etc.
A comedy is generally any type of performance (television, movie, theatre) that is intended to make the audience laugh.
So a sitcom is a particular type of comedy.