Others have given good explanations, so let me just follow them and say voter ID laws are a fix to a non-issue that has the convenient effect of making certain demographics unable to vote where they could and did before without a problem, legally.
It's classism and racism all wrapped up in a made up problem to solve, designed to maintain power that would be lost if everyone eligible to vote could vote.