Used when defining the scope of a claim.

A transitional phrase that is synonymous with (means the same thing as) "including," "containing" or "characterized by;" is inclusive or open-ended and does not exclude additional, unrecited elements or method steps. Comprising is a term of art used in claim language which means that the named elements are essential in describing the invention.

Source: U.S. Patent and Trademark Office.