Understanding Data Poisoning in AI: Safeguarding AI Systems