my battery light is staying on and the battery is not charging on 1999 Volkswagen Golf

i replaced the air box and plastics and had to remove the battery while doing this when i replaced all the parts the battery light was on on the dash and the battery is not charging i have checked the wiring but cannot find a problem

2 answers
replace ur alternator
alternator failure