This parable comes from the Gospel of Luke. At first, the man is going from Jerusalem to Jericho. He "falls in among thieves" and they beat and rob him.
So now he's on the side of the road. Two men see him first. The first is a priest and the second is a Levite (another kind of priest) both of them just go to the other side of the road -- they "pass by on the other side."
The third man is a Samaritan, he binds the man's wounds, pours oil and wine on them. Then he puts the man on his animal and took him to an inn and had him fed. The next day when he left, he had the innkeeper take care of the man saying he would pay for it.