German does not have this feature! In German, there is no difference in meaning between "Ich spielte Tennis" and "Ich habe Tennis gespielt". (The difference is in register, "Ich spielte Tennis" is more formal.)
In English, in contrast, there is a clear difference in usage between, say, "I was playing tennis while my kids were in school", and "I have played tennis while my kids were in school".