Okay, so I've been wondering what exactly the difference between using cases and if statements are. It seems to me that they do exactly the same thing, but I'm sure that there are situations where one is better to use than the other -- What would these situations be?

I was wondering if someone could give me an example to show the difference.

Please and Thank you