The ord function is a built-in Python function that maps between characters and numbers. The system that maps between numbers and characters is called ASCII, and that's how the function determines which character maps to which number. ord is one of Python's 71 built-in functions. This video is recommended for people just starting to learn Python.