A fraction is a mathematical representation of a part of a whole. It is used to express the relationship between a numerator, which represents the number of parts, and a denominator, which represents the total number of equal parts that make up the whole.