Cog-shaped lightbulb with cord