user is just the name of a variable. Map is saying “loop over the array users and run a function for each item in it”. The function takes an argument, the author has called that argument user because each item represents a single user
(user) => user.name
is a function, is same as something like
function getName (user) {
return user.name;
}
It’s a function that takes an object and returns the value of the property with the key of name