If you say that there is a fine line between one thing and another, you mean that they are very similar. You often say this when one thing is acceptable and the other is not.
As a parent, I knew that there was a fine line between panic and caution.作为家长,我知道惊慌和谨慎有所不同。