The core of an optical fiber is the central part of the fiber through which the light travels. It is typically made of high-purity glass or plastic and is surrounded by a cladding layer that has a lower refractive index.