What's the difference between a range and a definition field What does mapping theorem have to do with them

What's the difference between a range and a definition field What does mapping theorem have to do with them

The range is the value range of Y
The domain is the value range of X