Refers to squash or pumpkin, especially in a culinary context. The term is somewhat old-fashioned; かぼちゃ is more common in modern Japanese.
My grandmother often made simmered squash for me.
In this region, they sweeten and simmer squash as a snack.
The kanji 唐 (Tang/China) and 茄子 (eggplant) suggest a foreign eggplant-like vegetable, reflecting the introduction of squash/pumpkin to Japan. The exact historical derivation is uncertain.