Test it with a friends battery. Test it with a friends charger. Test your charger with your friends phone. Test your battery in a friends phone.
This can narrow down the issue by ALOT. It's quite possibly a fried battery though, meaning it needs to be entirely replaced. Cell phones and tablets, notebook PCs, etc etc, all use lithium-ion batteries now days. They're only good for so long and can only be charged so many times or take so much abuse before becoming completely useless.