We do not have different words for "that" and "it". Both are "det".
Instead it all lies in the stress.
With stress it means "that".
Without stress it means "it".
In the audio there is no stress on "det" so the proper translation would actually be: "It is a part of a lamp".
But if you only have it in text, both translation are fine.