"Mc" and "Mac" are prefixes that are often used in Scottish and Irish surnames, respectively. They both mean "son of" and originated as patronymic names, which indicate the person's father's name.