You could have a faulty power cable, charging port with poor contact, or dead battery. Try to use another cable or clean the dirt in the charging port. Wait for a few minutes to see if your MacBook battery charges or if the MagSafe light is on.