Draw two columns. On the left, list five students: Ana, Ben, Cal, Dee, Eli. On the right, list the school bus routes: A, B and C. Each student rides exactly one bus home, so draw one arrow from each student to their route. Every student sends out exactly one arrow. That arrow diagram is a function, a mapping from students to bus routes.
Route A might receive three arrows, and route C none at all. Both are fine. The rule only says each input sends out one arrow; it says nothing about how many arrows an output receives. As ordered pairs, the same diagram might read (Ana, A), (Ben, A), (Cal, B), (Dee, A), (Eli, B): the first entry of each pair is the input and the second is its output.
Now reverse the arrows, from routes to students. Route A points to Ana, Ben and Dee, so 'who rides route A?' has three answers. The reversed mapping is not a function. The same connections pass or fail depending on which side is the input. For ordered pairs, the quick check is this: if a first entry appears twice with different second entries, it is not a function.
Think of it like this. A function as a mapping is like a post office sorting letters into mailboxes: each letter goes into exactly one box, though one box can hold many letters. A letter copied into two different boxes would break the system, and that is what a non-function does with an input.
Core idea. A function is a rule that assigns each allowed input exactly one output.