This is a complicated question to answer for multiple reasons. We really have to say something about the foundational crisis to give a full account of the story here.
Here is a caricatured brief version of the story. Back in the old days (Euler and Gauss and so forth) mathematicians studied fairly concrete objects (specific numbers and functions and equations) and did so with an informal mix of intuition, proof, and calculation. This mostly worked fine. Then various people noticed, around the 19th century and early 20th century, that this approach could sometimes get you in trouble, and that it was less clear than they had thought which mathematical objects really existed and which mathematical statements were really true; examples include
and probably other important examples I've forgotten. So eventually mathematicians decided they had to get a lot more careful about how they did mathematics. People wanted some kind of rigorous foundation from which they could deduce the rest of mathematics and prove it was all consistent and so forth. Frege tried do do this but Russell showed that his system suffered from Russell's paradox.
Hilbert proposed that all of mathematics should be written in a precise formal language with precise rules and axioms describing what proofs are valid, and then it should be proven that this whole system was consistent (did not prove any false mathematical statements) and complete (proved all true mathematical statements). But Godel showed that this was impossible in an extremely strong sense. Oh no!
(For a more detailed and quite lovely version of this story you can check out Logicomix.)
Nevertheless, out of this whole struggle emerged foundations for mathematics that work, more or less. Those foundations are called ZFC set theory, and what they do is provide a last-ditch option that a mathematician is supposed to be able to use to convince another mathematician that some mathematical statement is really true or that some mathematical object really exists: exhibit a proof or a construction in ZFC set theory. ZFC is widely believed to be consistent (although, by Godel, ZFC cannot itself prove this fact) but is not complete (for example it neither proves nor disproves the continuum hypothesis).
Because of the foundational crisis, part of what you are supposed to do in mathematical training, at some point, is learn how to construct mathematical objects and prove things about them in set theory. The most important example is probably learning how to construct the real numbers in set theory, via Dedekind cuts or Cauchy sequences. Then you can prove, rigorously, using this construction, standard properties of the real numbers such as the least upper bound property. The idea here is supposed to be that, in theory, you are supposed to learn how to rigorously reason about mathematics in such a way that all of your arguments could, in theory, be expanded all the way until they were proofs in ZFC set theory from the ZFC axioms.
However, in practice we never actually perform this expansion. ZFC is like a very low-level programming language for mathematics, analogous to assembly language. What mathematicians actually do in practice is reason in a much higher-level language (analogous to, say, Python), which nobody ever formally specifies but which essentially everyone agrees on, and which you are supposed to pick up by watching other people use it. This high-level language is supposed to "compile down" to ZFC set theory but I don't believe anyone ever actually checks this in detail. The high-level language is much closer to type theory than to set theory: for example it contains a type for the integers $\mathbb{Z}$, a type for the reals $\mathbb{R}$, and so forth, and in practice we essentially never refer to their constructions in set theory, unless we are talking to a student who is working through those constructions.
Okay, so now we can actually address the question:
What is a proof?
There is a certain myth we teach to students, which is that a proof is a rigorous sequence of deductions from axioms. I believe that much of the reason we teach this myth to students is the foundational crisis, and the enormous change it provoked in how people thought and talked about mathematics. This myth is part of how we transition students to what Terence Tao calls the rigorous stage of mathematical education, and it is often accompanied by ghost stories of the form "ooh, look, this intuitively appealing conjecture is false! Watch out!"
But the myth is not true! If you read any mathematical paper on nearly any subject other than set theory you will not find a single ZFC axiom anywhere. This is not how anyone actually does mathematics, because it is way too unbelievably tedious, and way too disconnected from intuition.
What is completely missing from the proof myth is that mathematics is fundamentally a social activity, and proofs are fundamentally a form of communication. A proof is something you write for other people to read and get something out of. It is a form of literature. Like any form of literature, it has genres and fashions and trends, and in particular standards for what constitutes a valid proof (in the same way that we can have standards for what constitutes a valid novel, say), and these standards are fundamentally something that specific communities of people actively negotiate amongst themselves, and which change. And also, like any form of literature, proofs can be beautiful, inspiring, delightful...
If you go to graduate school in mathematics and start specializing in a subject you'll read books and papers in that subject and learn what types of arguments are common in that subject; you become confident in those arguments not by reducing them all the way down to ZFC but through your confidence in the community of mathematicians in your subject, and through your personal working through the logic and the applications of those arguments. This involves a complex, delicate, and highly personal interplay between intuition and proof (and hopefully lots of calculations too!), and you need all of these ingredients working together; this is what Terence Tao calls the post-rigorous stage of mathematical education.
So: it's complicated! As you study mathematics more your conception of what a proof is will itself change, and this is completely natural. Good luck!