Mathematical concepts such as topology are used to study shapes and surfaces by focusing on their properties that are preserved under continuous deformations. Topology helps us understand the fundamental characteristics of shapes and surfaces, such as their connectedness, compactness, and boundaries, without being concerned with specific measurements like angles or lengths. It allows mathematicians to classify different shapes and surfaces based on their topological features, providing insights into their structure and relationships.