“Hole” and “whole” sounds the same but they both have different meaning.
“Hole” means a small place in the bottom on a surface.
An example, “There was a small hole at the beach.”
“Whole” means entire or all of something.
An example, “The whole class was happy to watch a movie.”