Algebraic topology can be used to count "holes" in a shape: for example, a wedding ring and a hollow pipe both have one hole, but a figure-8 has two. This can also be done in different dimensions; a hollow sphere has a kind of "2-dimensional" hole.