Question: what is the difference between the domain and codomain of a function?
Answer: The set "A" is the Domain, The set "B" is the Codomain, And the set of elements that get pointed to in B (the actual values produced by the function) are the Range, also called the Image.