Fraunhofer lines are used to determine:

distance to a star
the structure of a star
elements within a star
magnitude of a star