Here's what we know:
* Early evidence: Samosas are mentioned in ancient texts from the 10th century in Persia, and are believed to have been brought to India by the Mughals in the 14th century.
* Possible influences: There are theories that samosas were influenced by dishes like the "sambusak," a filled pastry eaten in the Middle East, or the "samosa" of ancient Persia, which was more of a savory meat pie.
* Variations: Samosas have evolved over centuries, with different regions developing their own variations in fillings and shapes.
It's important to note that the exact origins of the samosa are still debated among historians and food experts, but the most likely scenario is that they originated in Central Asia and have been adapted and enjoyed in different cultures for centuries.