Based on context clues, what is the meaning of the word filament?

a place where electricity is made
a very small piece of material
the inside of a lightbulb
the vacuum inside a bulb