in case
(because of a possibility of)
- I’ll take my umbrella in case it rains.
- Take warm clothes in case the weather is cold.
if
(on the condition that)
- If the weather is nice, we can go for a walk.
- I wouldn’t tell anyone, even if I were aware.
in case
(because of a possibility of)
if
(on the condition that)