A quantity is a mathematical concept that refers to a certain number of identical units of an observed group of units, e.g., a certain amount of apples in a fruit basket. Identical quantities can be used as arguments of mathematical operators for adding, subtracting, multiplying etc. Quantities may be an abstract thought, such as '5x + 2' apples.