means that
something fits precisely or is particularly well suited to a person's needs or circumstances.
The saying “Fit like a glove” can be used when that somethng fits exactly, it is the perfect size and shape for someone; or a situation is very suited for someone.