Conditionals:
We use “would” to create the conditional of all other verbs (not “can” and not “must”) to express uncertainty in actions (unsure if they will occur), to be polite in making requests, to ask others about their desires, or to decline invitations politely.
I would buy a home if I won the lottery. —It is something I think I will do, but I am unsure.
I would like some water, please. — I am politely asking for water.
Would you like a coffee?—I am asking about another person’s desire.
I would come, but I already have plans.—I cannot come, but I am telling you politely (here, I am also expressing that it is an action I will perform in other circumstances, such as when I don’t have other plans, but like my first example, I am unsure)
We use “would have—(would + present perfect)” to express past finished actions where there was a possibility of their occurrence, but that something else prevented those actions from occurring or being realized.
He would have come, but he was busy. —He wanted to come, but he was not able to.
If I had studied harder, I would have passed the exam. —There was the possibility that I pass the exam, but I did not pass because I didn’t study hard enough.
“Would” can also be used to express a “future-action in the past,” that is, when we describe a past situation in which we want to express that a certain action will occur in the future. (In some cases, the action may still be unrealized, and so there is still uncertainty or doubt, but not all cases)
Mark told me that he would come. —Mark told me( in the past), but he was not “coming” in that same moment that he spoke to me.
“Where is Mark? He’s not here yet.”
“I’m not sure, but he told me he would come.”
—He said, “I will come,” but he has still not arrived. The action here is UNREALIZED.
“Oh, look! There is Mark, he just arrived!”
“Yeah, he told me he would come.”
—He said, “I will come,” and he has just arrived. The action here is a future in the past that is REALIZED.