Modal verbs are used to express ideas such as possibility, intention, obligation and necessity.
CAN, COULD, WILL, WOULD, SHALL, SHOULD, OUGHT TO, DARE and NEED are some examples.
eg: I would have told you, if you had wanted me to.
eg: Yes, I can do that.