A loop in a topological space is a continuous map with . Equivalently it is a map from the circle. A based loop also specifies the common endpoint as a chosen base point.
A boundary loop travels around a boundary circle of a topological surface. To regard it as an element of the fundamental group at a base point away from the boundary, join that base point to the boundary by a path, go around the boundary, and follow the reverse path. Changing that joining path conjugates the element; reversing the boundary orientation inverts it.
A based homotopy between based loops keeps both endpoints fixed at the base point throughout the deformation.