It's a shortened form of the word Christmas. The letter "X" is used to represent the Greek letter chi, which is the first letter of the Greek word for Christ. So, using "Xmas" instead of "Christmas" is a way to honor the religious origins of the holiday while still using a shorter word for convenience.