How does Borax kill ants?

When ingested by ants and other pests, this poison ruins the digestive system leads to starvation. Which will then lead to death. This whole process takes anywhere from 12 to 48 hours.