The meaning is derived from a saint that was alive in the middle ages. St. Valentine died as a martyr and the holiday has lived on in his remembrance.