: a portion of food, clothing, or money given to or as if to a beggar
[M-W's Col. Dic.]

Isn't the above definition redundant because of the use of as if to? What is the difference between given to a beggar and as if to a beggar?

Well said, Spides.
Someone giving a handout to a beggar might communicate a certain distain for the beggar. If another person, not a beggar, were given something coupled with a disdainful attitude, that something would be given "as if" to a beggar.
 Avangi's reply was promoted to an answer.