>>106023286first thing is that we need to point out the differences between technicalt definitions and linguistic definitions.
a function, of real numbers for example, is a map between to sets both of which being the set of real numbers.
linguistically this is a relation between two sets.
But mathematicians, like every other specialization/science/tech subject, use regular everyday words but ascribe technical definitions to them that might not be exactly the same as the linguistic definition.
so if mathematicians have different technical definitions between function and relation there's probably a reason for it, even if they seem similar in some cases there's probably cases where the differences are important so they have them.