Hole refers to an opening in a solid or an hollow spot on a surface. In some cases, it could also mean a pit or trench.
"Rats bored a hole into Richard's desk."
Whole means an entirety of something, complete with no parts missing.
"I hope my breakfast remains whole by the time I return."